Skip to content

Commit 0057cda

Browse files
committed
add example in docs for containerd
Signed-off-by: yanxuean <[email protected]>
1 parent e1fafd4 commit 0057cda

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Diff for: docs/alternative_runtimes.md

+22
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,25 @@ $ minikube start \
3030
--extra-config=kubelet.image-service-endpoint=/var/run/crio/crio.sock \
3131
--bootstrapper=kubeadm
3232
```
33+
34+
### Using containerd
35+
36+
To use [containerd](https://github.com/containerd/containerd) as the container runtime, run:
37+
38+
```shell
39+
$ minikube start \
40+
--network-plugin=cni \
41+
--container-runtime=containerd \
42+
--bootstrapper=kubeadm
43+
```
44+
45+
Or you can use the extended version:
46+
47+
```shell
48+
$ minikube start \
49+
--network-plugin=cni \
50+
--extra-config=kubelet.container-runtime=remote \
51+
--extra-config=kubelet.container-runtime-endpoint=unix:///run/containerd/containerd.sock \
52+
--extra-config=kubelet.image-service-endpoint=unix:///run/containerd/containerd.sock \
53+
--bootstrapper=kubeadm
54+
```

0 commit comments

Comments
 (0)