DEV Community

Discussion on: 👩🏼‍💻 Docker for Beginners - By Beginner 👨🏼‍💻

Collapse
 
habereder profile image
Raphael Habereder • Edited

It removes unused Containers, dangling Images and unused Networks.
Dangling Image is what it's called if you stop a docker pull midway. The Image is not finished loading and classified as "dangling". There are also those that you build and don't give a Name to. Those old images are the ones that are untagged and display as "none" on their name when you run 'docker images'.

There are two equivalent commands for Images and volumes too, docker image prune or docker volume prune, if you want to clean those up too by "unused" Status :)