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

This commit is contained in:
Jenkins 2015-01-08 21:12:56 +00:00 committed by Gerrit Code Review
commit 5baafd1dff
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)