Skip to content

Commit

Permalink
add example in docs for containerd
Browse files Browse the repository at this point in the history
Signed-off-by: yanxuean <[email protected]>
  • Loading branch information
yanxuean committed Aug 16, 2018
1 parent e1fafd4 commit 0057cda
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/alternative_runtimes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 0057cda

Please sign in to comment.