Answers for "docker remove image with 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
0

docker rmi multiple tags

docker images | grep 810001cb03af | awk '{print $1 ":" $2}' | xargs docker rmi
Posted by: Guest on November-18-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language