remove container after docker run exits (#5798)
This commit is contained in:
parent
45bb711535
commit
7fd179c6dd
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue