2017-05-03 21:53:51 +00:00
|
|
|
### Using rkt container engine
|
|
|
|
|
|
|
|
To use [rkt](https://github.com/coreos/rkt) as the container runtime run:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ minikube start \
|
|
|
|
--network-plugin=cni \
|
2017-06-17 23:09:39 +00:00
|
|
|
--container-runtime=rkt
|
|
|
|
```
|
2017-11-18 23:40:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
### Using CRI-O
|
|
|
|
|
|
|
|
To use [CRI-O](https://github.com/kubernetes-incubator/cri-o) as the container runtime, run:
|
|
|
|
|
2018-02-12 11:42:03 +00:00
|
|
|
```shell
|
2017-11-18 23:40:35 +00:00
|
|
|
$ minikube start \
|
|
|
|
--network-plugin=cni \
|
|
|
|
--container-runtime=cri-o \
|
|
|
|
--bootstrapper=kubeadm
|
|
|
|
```
|
|
|
|
|
|
|
|
Or you can use the extended version:
|
|
|
|
|
2018-02-12 11:42:03 +00:00
|
|
|
```shell
|
2017-11-18 23:40:35 +00:00
|
|
|
$ minikube start \
|
|
|
|
--network-plugin=cni \
|
|
|
|
--extra-config=kubelet.container-runtime=remote \
|
2017-12-02 18:19:17 +00:00
|
|
|
--extra-config=kubelet.container-runtime-endpoint=/var/run/crio/crio.sock \
|
|
|
|
--extra-config=kubelet.image-service-endpoint=/var/run/crio/crio.sock \
|
2017-11-27 18:39:56 +00:00
|
|
|
--bootstrapper=kubeadm
|
2017-11-18 23:40:35 +00:00
|
|
|
```
|
2018-08-02 11:58:40 +00:00
|
|
|
|
|
|
|
### 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
|
|
|
|
```
|