From b84a6c4f7fb2e99407fde3d3f1be284c6c3f6226 Mon Sep 17 00:00:00 2001 From: Nicolas Mahe Date: Fri, 8 May 2020 17:06:19 +0700 Subject: [PATCH] add --rm to docker run instead of manually removing the container in script run e2e --- scripts/run-e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-e2e.sh b/scripts/run-e2e.sh index f010437ac..ba2cc17b4 100755 --- a/scripts/run-e2e.sh +++ b/scripts/run-e2e.sh @@ -17,7 +17,6 @@ go test -mod=readonly -v -count=1 ./e2e/... -run=__NONE__ function onexit { docker stop $ENGINE_NAME - docker rm -f $ENGINE_NAME docker network remove $NETWORK_NAME } @@ -29,6 +28,7 @@ fi docker run \ -d \ + -rm \ --name $ENGINE_NAME \ -p 1317:1317 \ -p 50052:50052 \