Created
October 7, 2019 20:35
-
-
Save marc-hanheide/41d6a9b834eff64f76d91313e074f487 to your computer and use it in GitHub Desktop.
Purge all docker resources (legacy)
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
| # dangerous: removes all containers: | |
| docker ps -aq --no-trunc | xargs docker rm | |
| docker rmi $(docker images --filter "dangling=true" -q --no-trunc) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment