53 lines
1.3 KiB
Markdown
53 lines
1.3 KiB
Markdown
### Using rkt container engine
|
|
|
|
To use [rkt](https://github.com/coreos/rkt) as the container runtime run:
|
|
|
|
```shell
|
|
$ minikube start \
|
|
--network-plugin=cni \
|
|
--container-runtime=rkt
|
|
```
|
|
|
|
|
|
### Using CRI-O
|
|
|
|
To use [CRI-O](https://github.com/kubernetes-incubator/cri-o) as the container runtime, run:
|
|
|
|
```shell
|
|
$ minikube start \
|
|
--network-plugin=cni \
|
|
--container-runtime=cri-o
|
|
```
|
|
|
|
Or you can use the extended version:
|
|
|
|
```shell
|
|
$ minikube start \
|
|
--network-plugin=cni \
|
|
--cri-socket=/var/run/crio/crio.sock \
|
|
--extra-config=kubelet.container-runtime=remote \
|
|
--extra-config=kubelet.container-runtime-endpoint=unix:///var/run/crio/crio.sock \
|
|
--extra-config=kubelet.image-service-endpoint=unix:///var/run/crio/crio.sock
|
|
```
|
|
|
|
### Using containerd
|
|
|
|
To use [containerd](https://github.com/containerd/containerd) as the container runtime, run:
|
|
|
|
```shell
|
|
$ minikube start \
|
|
--network-plugin=cni \
|
|
--container-runtime=containerd
|
|
```
|
|
|
|
Or you can use the extended version:
|
|
|
|
```shell
|
|
$ minikube start \
|
|
--network-plugin=cni \
|
|
--cri-socket=/run/containerd/containerd.sock \
|
|
--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
|
|
```
|