The podman driver is an alternative container runtime to the Docker driver.
- Install podman
This is an experimental driver. Please use it only for experimental reasons until it has reached maturity. For a more reliable minikube experience, use a non-experimental driver, like Docker.
It’s recommended to run minikube with the podman driver and CRI-O container runtime:
minikube start --driver=podman --container-runtime=cri-o
Alternatively, start minikube with the podman driver only:
minikube start --driver=podman
To make podman the default driver:
minikube config set driver podman
- On Linux, Podman requires passwordless running of sudo. If you run into an error about sudo, do the following:
$ sudo visudo
Then append the following to the section at the very bottom of the file where
username is your user account.
username ALL=(ALL) NOPASSWD: /usr/bin/podman
Be sure this text is after
#includedir /etc/sudoers.d. To confirm it worked, try:
sudo -k -n podman version
- On all other operating systems, make sure to create and start the virtual machine that is needed for Podman.
podman machine init --cpus 2 --memory 2048 --disk-size 20 podman machine start podman system connection default podman-machine-default-root podman info
minikube start --alsologtostderr -v=7to debug errors and crashes