Get it with
$ curl https://raw.githubusercontent.com/aidanhs/dockerutil/master/auto.sh | sh
And follow the instructions to add the bin folder to your path
It gives you
killdock
- kill all running containerscleandock
- rm all stopped containersflattenimage
- take an image and reduce to a single layer