Merge pull request #12579 from afbjorklund/podman-darwin

Allow running podman as experimental driver
pull/12612/head
Medya Ghazizadeh 2021-09-27 17:07:10 -07:00 committed by GitHub
commit 49cc0573ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 2 deletions

View File

@ -27,6 +27,7 @@ var supportedDrivers = func() []string {
// on darwin/arm64 only docker and ssh are supported yet
return []string{
Docker,
Podman,
SSH,
}
}
@ -37,6 +38,7 @@ var supportedDrivers = func() []string {
HyperKit,
VMware,
Docker,
Podman,
SSH,
}
}()

View File

@ -33,6 +33,7 @@ var supportedDrivers = []string{
HyperV,
VMware,
Docker,
Podman,
SSH,
}

View File

@ -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
@ -35,6 +34,15 @@ 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
podman system connection default podman-machine-default-root
podman info
```
## Troubleshooting
- Run `minikube start --alsologtostderr -v=7` to debug errors and crashes