mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2025-04-07 14:21:53 +00:00
added rm -f in docker.sh
Kindly Verify it
This commit is contained in:
parent
6f67bf688e
commit
b095a3534d
@ -12,6 +12,7 @@ docker stop <hash> # Gracefully stop the specified cont
|
|||||||
docker ps -a # See a list of all containers, even the ones not running
|
docker ps -a # See a list of all containers, even the ones not running
|
||||||
docker kill <hash> # Force shutdown of the specified container
|
docker kill <hash> # Force shutdown of the specified container
|
||||||
docker rm <hash> # Remove the specified container from this machine
|
docker rm <hash> # Remove the specified container from this machine
|
||||||
|
docker rm -f <hash> # Remove force specified container from this machine
|
||||||
docker rm $(docker ps -a -q) # Remove all containers from this machine
|
docker rm $(docker ps -a -q) # Remove all containers from this machine
|
||||||
docker images -a # Show all images on this machine
|
docker images -a # Show all images on this machine
|
||||||
docker rmi <imagename> # Remove the specified image from this machine
|
docker rmi <imagename> # Remove the specified image from this machine
|
||||||
|
Loading…
x
Reference in New Issue
Block a user