https://github.com/Jiri-Kremser/dotfiles/blob/master/.bashrc#L403

:D

On Tue, Sep 5, 2017 at 3:35 PM, John Mazzitelli <mazz@redhat.com> wrote:
Just a little set of tricks that might be helpful to others.

If you want to clean up your docker:

* Delete all containers: docker ps -q -a | xargs docker rm
* Delete all images: docker rmi $(docker images --filter dangling=true)
* Another way of removing all images is: docker images -q | xargs docker rmi
* If images have dependent children, forced removal is via the -f flag: docker images -q | xargs docker rmi -f
* Delete untagged images: docker rmi $(docker images | grep "^<none>" | awk '{print $3}')
_______________________________________________
hawkular-dev mailing list
hawkular-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev