remove unused containers once theyre exited
This commit is contained in:
parent
bf5a430c67
commit
18a59ded06
@ -7,4 +7,4 @@ printf "\n[-] Running dragon bot in test mode\n"
|
|||||||
docker build -f ./Dockerfile-test-env -t dragon-bot-test . || exit
|
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
|
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user