Re:Docker 0.11 Released
by olouv on Wednesday May 07, 2014 @07:28PM
(#7713171)
It's a real PITA that the first thing you do when you start experimenting with docker is to have to find out about this missing clean command and to design a custom alias to fit your needs. In my case, I was expecting it (eg. `bower cache clean`, `npm cache clean`). Regarding the unclear intent, that's what cli help is for! `docker clean` could output it by default.
[ Parent
| on HN ]
What would you expect it to do exactly? Remove all untagged images?
That's a good starting point.
I have a docker-cleanup script, which removes untagged images and containers: https://github.com/blueyed/dotfiles/blob/master/usr/bin/dock...