Answers for "docker automatically clear images without tag"

6

docker remove images without tag

docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
Posted by: Guest on July-07-2020
0

docker delete images without tag

docker rmi $(docker images -a|grep "<none>"|awk '$1=="<none>" {print $3}')
Posted by: Guest on November-08-2020

Code answers related to "docker automatically clear images without tag"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language