For local dev, I run all my docker stuff via minikube (`minikube docker-env` sets things up so your shell uses the docker daemon running in minikube, allowing you to run docker containers outside of k8s) and then from time to time I just run `minikube delete`, which deletes the entire VM - docker images and cruft included.
It’s a bit of a scorched earth approach, and it won’t help if you want to preserve volumes, but it’s a good way to ensure no docker cruft is left behind on your local machine.
It’s a bit of a scorched earth approach, and it won’t help if you want to preserve volumes, but it’s a good way to ensure no docker cruft is left behind on your local machine.