As I progress with learning docker I eventually found myself annoyed with how much it leaves behind at the behest of the user to clean up. (That is, it doesn’t seem to do a very good job of cleaning up after itself). I wrote these aliases for myself while I learn and explore Docker in order to aid in cleaning my system up during the process of testing and using many containers and images.

I personally use this merged with my .aliases file which is a part of my dotfiles repo. I use this simple dotfiles “framework” to keep a consistent set of configs between systems I want to customize.

- Mike