Created
November 18, 2018 19:30
-
-
Save pr0way/9788c9cca321a0df47a9ba4284218208 to your computer and use it in GitHub Desktop.
Docker cheat
This file contains 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
sudo docker container ls # show running container | |
sudo docker container ls -a # show all container | |
sudo docker container rm $(sudo docker container ls -aq) # remove all container | |
sudo docker images # show all images | |
sudo docker image rm $(sudo docker image ls -q) # remove all images |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment