remove container after docker run exits (#5798)

This commit is contained in:
Alvin Huang 2019-05-07 10:13:07 -04:00 committed by GitHub
parent 45bb711535
commit 7fd179c6dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ function get_envoy_stats_flush_interval {
}
function docker_consul {
docker run -ti --network container:envoy_consul_1 consul-dev $@
docker run -ti --rm --network container:envoy_consul_1 consul-dev $@
}
function must_match_in_statsd_logs {
@ -164,4 +164,4 @@ function gen_envoy_bootstrap {
echo "$output"
return $status
fi
}
}