Cleanup of images and containers needs a '-f' flag to force shutdown

Change-Id: I0642dcd36fe5af261b8f35744e3e88460a13fc85
This commit is contained in:
Ryan Hallisey 2015-01-08 20:15:02 +00:00
parent 5f3cf5b6fe
commit ae4cc56c14
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
docker rm $(docker ps -a -q)
docker rm -f $(docker ps -a -q)

View File

@ -1,3 +1,3 @@
#!/bin/bash
docker rmi $(docker images -a -q)
docker rmi -f $(docker images -a -q)