Merge pull request #48 from jeremychauvet/master

Add clean command for Docker
This commit is contained in:
Julien Le Coupanec 2018-04-17 10:05:46 +01:00 committed by GitHub
commit 5ce0c7a9ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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)
##############################################################################