4 ms·
I feel your pain on the disk usage, especially when rapidly making changes and building with `docker-compose up --build`. However `docker system prune` is your
by imauld 8y ago
I feel your pain on the disk usage, especially when rapidly making changes and building with `docker-compose up --build`. However `docker system prune` is your friend here.
It would be great if it were automated and a little smarter, it basically leaves no survivors, but for all the advantages of Docker this isn't so bad.
- gravypod 8y agoThere are some community written garbage collectors out there that are good but none mainlined yet. I do agree that docker's pros are worth the cons. Anyone who has every migrated a large application that they didn't have good documentation on the installation or configuration process (especially ones which you have written and forgot about) knows how valuable good, self-contained, packaging is.
- imauld 8y agoI've used docker-gc by Spotify for production nodes that needed cleaning up and it's worked pretty well.