podman

Overview

The podman driver is an alternative container runtime to the Docker driver.

Requirements

  • Linux operating system
  • Install podman

Experimental

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.

Usage

It’s recommended to run minikube with the podman driver and CRI-O container runtime:

  1. minikube start --driver=podman --container-runtime=cri-o

Alternatively, start minikube with the podman driver only:

  1. minikube start --driver=podman

To make podman the default driver:

  1. minikube config set driver podman

Known Issues

  • Podman requirements passwordless running of sudo. If you run into an error about sudo, do the following:
  1. $ sudo visudo

Then append the following to the section at the very bottom of the file where username is your user account.

  1. username ALL=(ALL) NOPASSWD: /usr/bin/podman

Be sure this text is after #includedir /etc/sudoers.d. To confirm it worked, try:

  1. sudo -k -n podman version

Troubleshooting

  • Run minikube start --alsologtostderr -v=7 to debug errors and crashes

Last modified February 12, 2021: Change podman priority to default on Linux (fb90e7ee1)