minikube/site/content/en/docs/drivers/podman.md

49 lines
1.2 KiB
Markdown

---
title: "podman"
weight: 3
aliases:
- /docs/reference/drivers/podman
---
## Overview
The podman driver is an alternative container runtime to the [Docker]({{< ref "/docs/drivers/docker.md" >}}) driver.
## Requirements
- Install [podman](https://podman.io/getting-started/installation.html)
{{% readfile file="/docs/drivers/includes/podman_usage.inc" %}}
## Known Issues
- On Linux, Podman requires passwordless running of sudo. If you run into an error about sudo, do the following:
```shell
$ sudo visudo
```
Then append the following to the section *at the very bottom* of the file where `username` is your user account.
```shell
username ALL=(ALL) NOPASSWD: /usr/bin/podman
```
Be sure this text is *after* `#includedir /etc/sudoers.d`. To confirm it worked, try:
```shell
sudo -k -n podman version
```
- On all other operating systems, make sure to create and start the virtual machine that is needed for Podman.
```shell
podman machine init --cpus 2 --memory 2048 --disk-size 20
podman machine start
podman system connection default podman-machine-default-root
podman info
```
## Troubleshooting
- Run `minikube start --alsologtostderr -v=7` to debug errors and crashes