Created
January 29, 2017 20:45
-
-
Save pythoninthegrass/0db5ac84b5715e4e5eaaceaba0b90ff2 to your computer and use it in GitHub Desktop.
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
| # commit docker image (container then repo/image:tag) | |
| docker commit centos jollygoodhorsepower/centos-ps:latest | |
| # stop all containers: | |
| docker kill $(docker ps -q) | |
| # remove all containers | |
| docker rm $(docker ps -a -q) | |
| # remove all docker images | |
| docker rmi $(docker images -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment