mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-12-18 16:41:58 +00:00
Add clean command for Docker
This commit is contained in:
parent
db7b569476
commit
90a3cec714
@ -20,6 +20,8 @@ docker login # Log in this CLI session using your
|
||||
docker tag <image> username/repository:tag # Tag <image> for upload to registry
|
||||
docker push username/repository:tag # Upload tagged image to registry
|
||||
docker run username/repository:tag # Run image from a registry
|
||||
docker system prune # Remove all unused containers, networks, images (both dangling and unreferenced), and optionally, volumes. (Docker 17.06.1-ce and superior)
|
||||
docker system prune -a # Remove all unused containers, networks, images not just dangling ones (Docker 17.06.1-ce and superior)
|
||||
|
||||
|
||||
##############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user