Created
January 27, 2020 15:45
-
-
Save kerasai/c1decfc5eb6e7f079592295d6ae8cb80 to your computer and use it in GitHub Desktop.
Docker Container Clean-Up
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
# TODO: document these. | |
docker rm -v $(docker ps --filter status=exited -q 2>/dev/null) 2>/dev/null | |
docker rmi $(docker images --filter dangling=true -q 2>/dev/null) 2>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment