Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Tear down my minikube environment
minikube stop
virsh detach-disk --domain minikube-m02 /var/lib/libvirt/images/minikube-m02.qcow2 --persistent --config --live
virsh detach-disk --domain minikube-m03 /var/lib/libvirt/images/minikube-m03.qcow2 --persistent --config --live
virsh detach-disk --domain minikube-m04 /var/lib/libvirt/images/minikube-m04.qcow2 --persistent --config --live
virsh detach-disk --domain minikube-m05 /var/lib/libvirt/images/minikube-m05.qcow2 --persistent --config --live
minikube delete
sudo rm /var/lib/libvirt/images/minikube-m02.qcow2
sudo rm /var/lib/libvirt/images/minikube-m03.qcow2
sudo rm /var/lib/libvirt/images/minikube-m04.qcow2
sudo rm /var/lib/libvirt/images/minikube-m05.qcow2
sudo rm -r ~/.minikube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment