Created
October 16, 2016 11:45
-
-
Save erighetto/f908c3559de49f373aff6525ebcbd254 to your computer and use it in GitHub Desktop.
stop & remove container + remove volume
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
docker stop $(docker ps -a -q) && docker rm $(docker ps -a -q) && docker volume rm $(docker volume ls -qf dangling=true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker rmi $(docker images -q)