add example in docs for containerd

Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
pull/3088/head
yanxuean 2018-08-02 19:58:40 +08:00 committed by dlorenc
parent c4ee50b9e8
commit 1971dc979b
1 changed files with 22 additions and 0 deletions

View File

@ -30,3 +30,25 @@ $ minikube start \
--extra-config=kubelet.image-service-endpoint=/var/run/crio/crio.sock \
--bootstrapper=kubeadm
```
### Using containerd
To use [containerd](https://github.com/containerd/containerd) as the container runtime, run:
```shell
$ minikube start \
--network-plugin=cni \
--container-runtime=containerd \
--bootstrapper=kubeadm
```
Or you can use the extended version:
```shell
$ minikube start \
--network-plugin=cni \
--extra-config=kubelet.container-runtime=remote \
--extra-config=kubelet.container-runtime-endpoint=unix:///run/containerd/containerd.sock \
--extra-config=kubelet.image-service-endpoint=unix:///run/containerd/containerd.sock \
--bootstrapper=kubeadm
```