Thanks for sharing this overview, Alex! :)
There is also docker system prune to remove all unused data (volumes, stopped containers, etc.).
docker system prune
This is almost true. Sometimes docker system prune will leave hanging and orphaned volumes. Specifically in the docker overlay dir.
Bonus of 'docker prune': it does not remove running services & related images.
Thank you, added by your recommendation to the article :) Used many times but forgot to mention.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.