DEV Community

Discussion on: 20 Docker commands use cases for developers

Collapse
 
andre profile image
André König

Thanks for sharing this overview, Alex! :)

There is also docker system prune to remove all unused data (volumes, stopped containers, etc.).

Collapse
 
cmtatro85 profile image
Christopher Tatro

This is almost true. Sometimes docker system prune will leave hanging and orphaned volumes. Specifically in the docker overlay dir.

Collapse
 
alex_barashkov profile image
Alex Barashkov

Thank you, added by your recommendation to the article :) Used many times but forgot to mention.

Collapse
 
david_j_eddy profile image
David J Eddy

Bonus of 'docker prune': it does not remove running services & related images.