Cleanup of images and containers needs a '-f' flag to force shutdown
Change-Id: I0642dcd36fe5af261b8f35744e3e88460a13fc85
This commit is contained in:
parent
5f3cf5b6fe
commit
ae4cc56c14
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
docker rm $(docker ps -a -q)
|
docker rm -f $(docker ps -a -q)
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
docker rmi $(docker images -a -q)
|
docker rmi -f $(docker images -a -q)
|
||||||
|
Loading…
Reference in New Issue
Block a user