Last active
October 24, 2020 14:54
-
-
Save leonlaser/ae3c0ecdd5f5e0991f7b0daceb5fee7e to your computer and use it in GitHub Desktop.
[Docker helper] Handling container and images #docker #bash #sh #terminal #console
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
#!/bin/sh | |
docker rmi -f $(docker images -f "dangling=true" -q) |
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
#!/bin/sh | |
docker images -f “dangling=true” -q | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment