diff --git a/pkg/minikube/driver/driver_darwin.go b/pkg/minikube/driver/driver_darwin.go index b29222459ef5..9153e9e79d1b 100644 --- a/pkg/minikube/driver/driver_darwin.go +++ b/pkg/minikube/driver/driver_darwin.go @@ -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, } }() diff --git a/pkg/minikube/driver/driver_windows.go b/pkg/minikube/driver/driver_windows.go index 1ebc9d5f1d62..8352366ae29b 100644 --- a/pkg/minikube/driver/driver_windows.go +++ b/pkg/minikube/driver/driver_windows.go @@ -33,6 +33,7 @@ var supportedDrivers = []string{ HyperV, VMware, Docker, + Podman, SSH, } diff --git a/site/content/en/docs/drivers/podman.md b/site/content/en/docs/drivers/podman.md index be670dfc57ed..5ad39a8e09dd 100644 --- a/site/content/en/docs/drivers/podman.md +++ b/site/content/en/docs/drivers/podman.md @@ -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,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