remove unused containers once theyre exited

This commit is contained in:
Luke Robles 2018-06-22 14:06:54 -07:00
parent bf5a430c67
commit 18a59ded06

View File

@ -7,4 +7,4 @@ printf "\n[-] Running dragon bot in test mode\n"
docker build -f ./Dockerfile-test-env -t dragon-bot-test . || exit
# Run that shit and mount the docker socket so it can talk to the sky-factory container
docker run -ti --name dragon-bot-test -e DRAGON_ENV=test -v /var/run/docker.sock:/var/run/docker.sock dragon-bot-test sh
docker run -ti --rm --name dragon-bot-test -e DRAGON_ENV=test -v /var/run/docker.sock:/var/run/docker.sock dragon-bot-test sh