minikube clear docker images code example
Example 1: docker remove all images
docker rmi $(docker images -a -q)
Example 2: docker remove all containers and images
docker container stop $(docker container ls -aq)
docker rmi $(docker images -a -q)
docker container stop $(docker container ls -aq)