Created
May 8, 2024 07:31
-
-
Save fullbeats/4a6cb468e5f553add2a4d3e0cba195fb to your computer and use it in GitHub Desktop.
Safely remove all dangling docker images without tag
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 rmi $(docker images -a --filter "dangling=true" |grep "<none>"|awk '$1=="<none>" {print $3}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment