mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-11-21 20:35:12 +00:00
Merge pull request #294 from mhemanthkmr/patch-1
added rm -f in docker.sh
This commit is contained in:
commit
bf8cc22dae
@ -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…
Reference in New Issue
Block a user