Since docker isn't like git in that creating a docker-clean in the path will create a docker clean
command, I've settled for dc_blah :(
Most of these command do NOT have safe guards yet, bad inputs can cause you to lose all your docker images. USE AT OWN RISK!
dc_ps
- Removes all dead containers. This is safe AS LONG as you don't want to try and commit any of your dead dockers
dc_images
- Removes all dangling images. When rebuilding a dockerfile, previous intermediate images get left behind (as dangling) this removes them
dc_trace
- List all the image snapshots that make up a particular image. It lists the parent, grandparent, etc... all the way to the begining image. It also lists the actual size of each of these snapshots in human readable sizes
dc_trace_cmd
- Same as dc_trace, except it also lists the "dockerfile command" that created that image. This only makes sense for images made with docker build
. It makes less sense with images build by docker commit
dc_trace_q
- Version o