Skip to content

Commit

Permalink
add --rm to docker run instead of manually removing the container in …
Browse files Browse the repository at this point in the history
…script run e2e
  • Loading branch information
NicolasMahe committed May 8, 2020
1 parent a33e993 commit b84a6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -29,6 +28,7 @@ fi

docker run \
-d \
-rm \
--name $ENGINE_NAME \
-p 1317:1317 \
-p 50052:50052 \
Expand Down

0 comments on commit b84a6c4

Please sign in to comment.