$ minikube image ls
...
docker.io/library/crasher:latest
...
$ minikube image rm crasher crasher:latest docker.io/library/crasher:latest
$ minikube image ls
...
docker.io/library/crasher:latest
...
It looks like minikube rm doesn't remove the image from minikubes internal cache. I would like to be able to remove one of these images so that I can be sure I when I minikube image load
that it picks up the new image.
I figured it out, the problem was that I still had services running that were using the image.
You either can't delete an image in use, or minikube is adding the in use image back into the list faster than I can run commands.
So if you want to do a local hotswap of your image on minikube, you need to:
1. kubectl delete
2. minikube image rm
3. minikube image load
4. kubectl apply