Hacker News new | past | comments | ask | show | jobs | submit login

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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: