Last active
December 2, 2017 03:17
-
-
Save joselo/18ee97a03bc6f0ce533a80c7fbaf9122 to your computer and use it in GitHub Desktop.
Docker Useful Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Remove unused images | |
| docker rmi -f $(docker images | grep "<none>" | awk "{print \$3}") | |
| # List containers | |
| docker ps -a | |
| # Kill container | |
| docker rm -fv CONTAINER_ID | |
| # List Images | |
| docker images |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment