July 23, 2014

[SOLVED] Remove Untagged Images From Docker


Remove all stopped containers.
docker rm $(docker ps -a -q)

Remove all untagged images
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")

No comments:

Post a Comment