Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

site: for rootless recommend containerd over cri-o #14475

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/content/en/docs/drivers/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ minikube start --driver=docker --container-runtime=containerd
Unlike Podman driver, it is not necessary to set the `rootless` property of minikube (`minikube config set rootless true`).
When the `rootless` property is explicitly set but the current Docker host is not rootless, minikube fails with an error.

The `--container-runtime` flag must be set to "containerd" or "cri-o".
The `--container-runtime` flag must be set to "containerd" or "cri-o". "containerd" is recommended.
{{% /tab %}}
{{% /tabs %}}

Expand Down
8 changes: 7 additions & 1 deletion site/content/en/docs/drivers/includes/podman_usage.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is an experimental driver. Please use it only for experimental reasons unti

## Usage

It's recommended to run minikube with the podman driver and [CRI-O container runtime](https://cri-o.io/):
It's recommended to run minikube with the podman driver and [CRI-O container runtime](https://cri-o.io/) (expect when using Rootless Podman):

```shell
minikube start --driver=podman --container-runtime=cri-o
Expand All @@ -31,4 +31,10 @@ To use Podman without `sudo` (i.e., Rootless Podman), set the `rootless` propert
minikube config set rootless true
```

For Rootless Podman, it is recommended to set `--container-runtime` to `containerd`:

```shell
minikube start --driver=podman --container-runtime=containerd
```

See the [Rootless Docker](https://minikube.sigs.k8s.io/docs/drivers/docker/#rootless-docker) section for the requirements and the restrictions.