Skip to content

Commit

Permalink
Allow running podman as experimental driver
Browse files Browse the repository at this point in the history
  • Loading branch information
afbjorklund committed Sep 26, 2021
1 parent b1ea54d commit a9b74bb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pkg/minikube/driver/driver_darwin.go
Expand Up @@ -27,6 +27,7 @@ var supportedDrivers = func() []string {
// on darwin/arm64 only docker and ssh are supported yet
return []string{
Docker,
Podman,
SSH,
}
}
Expand All @@ -37,6 +38,7 @@ var supportedDrivers = func() []string {
HyperKit,
VMware,
Docker,
Podman,
SSH,
}
}()
Expand Down
1 change: 1 addition & 0 deletions pkg/minikube/driver/driver_windows.go
Expand Up @@ -33,6 +33,7 @@ var supportedDrivers = []string{
HyperV,
VMware,
Docker,
Podman,
SSH,
}

Expand Down
10 changes: 8 additions & 2 deletions site/content/en/docs/drivers/podman.md
Expand Up @@ -11,14 +11,13 @@ The podman driver is an alternative container runtime to the [Docker]({{< ref "/

## Requirements

- Linux operating system
- Install [podman](https://podman.io/getting-started/installation.html)

{{% readfile file="/docs/drivers/includes/podman_usage.inc" %}}

## Known Issues

- Podman requirements passwordless running of sudo. If you run into an error about sudo, do the following:
- On Linux, Podman requires passwordless running of sudo. If you run into an error about sudo, do the following:

```shell
$ sudo visudo
Expand All @@ -35,6 +34,13 @@ Be sure this text is *after* `#includedir /etc/sudoers.d`. To confirm it worked,
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
```

## Troubleshooting

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

0 comments on commit a9b74bb

Please sign in to comment.