Skip to content

Commit d1ce97f

Browse files
yanxueank8s-ci-robot
authored andcommitted
add doc for supporting containerd in minikube (#10037)
Signed-off-by: yanxuean <[email protected]>
1 parent b1cb9a9 commit d1ce97f

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

content/en/docs/setup/minikube.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a
1717
* NodePorts
1818
* ConfigMaps and Secrets
1919
* Dashboards
20-
* Container Runtime: Docker, [rkt](https://github.com/rkt/rkt) and [CRI-O](https://github.com/kubernetes-incubator/cri-o)
20+
* Container Runtime: Docker, [rkt](https://github.com/rkt/rkt), [CRI-O](https://github.com/kubernetes-incubator/cri-o) and [containerd](https://github.com/containerd/containerd)
2121
* Enabling CNI (Container Network Interface)
2222
* Ingress
2323

@@ -80,6 +80,28 @@ Stopping "minikube"...
8080

8181
### Alternative Container Runtimes
8282

83+
#### containerd
84+
85+
To use [containerd](https://github.com/containerd/containerd) as the container runtime, run:
86+
87+
```bash
88+
$ minikube start \
89+
--network-plugin=cni \
90+
--container-runtime=containerd \
91+
--bootstrapper=kubeadm
92+
```
93+
94+
Or you can use the extended version:
95+
96+
```bash
97+
$ minikube start \
98+
--network-plugin=cni \
99+
--extra-config=kubelet.container-runtime=remote \
100+
--extra-config=kubelet.container-runtime-endpoint=unix:///run/containerd/containerd.sock \
101+
--extra-config=kubelet.image-service-endpoint=unix:///run/containerd/containerd.sock \
102+
--bootstrapper=kubeadm
103+
```
104+
83105
#### CRI-O
84106

85107
To use [CRI-O](https://github.com/kubernetes-incubator/cri-o) as the container runtime, run:

0 commit comments

Comments
 (0)