diff --git a/test/integration/connect/envoy/helpers.bash b/test/integration/connect/envoy/helpers.bash index 75ff9dd23b..1bf27d2642 100755 --- a/test/integration/connect/envoy/helpers.bash +++ b/test/integration/connect/envoy/helpers.bash @@ -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 -} \ No newline at end of file +}