Skip to content

Commit 44b7ff5

Browse files
committed
Add the --cri-socket parameter to configuration
Also fix the syntax for CRI-O, adding unix://
1 parent a3a8578 commit 44b7ff5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/alternative_runtimes.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ Or you can use the extended version:
2424
```shell
2525
$ minikube start \
2626
--network-plugin=cni \
27+
--cri-socket=/var/run/crio/crio.sock \
2728
--extra-config=kubelet.container-runtime=remote \
28-
--extra-config=kubelet.container-runtime-endpoint=/var/run/crio/crio.sock \
29-
--extra-config=kubelet.image-service-endpoint=/var/run/crio/crio.sock
29+
--extra-config=kubelet.container-runtime-endpoint=unix:///var/run/crio/crio.sock \
30+
--extra-config=kubelet.image-service-endpoint=unix:///var/run/crio/crio.sock \
3031
```
3132

3233
### Using containerd
@@ -44,6 +45,7 @@ Or you can use the extended version:
4445
```shell
4546
$ minikube start \
4647
--network-plugin=cni \
48+
--cri-socket=/run/containerd/containerd.sock \
4749
--extra-config=kubelet.container-runtime=remote \
4850
--extra-config=kubelet.container-runtime-endpoint=unix:///run/containerd/containerd.sock \
4951
--extra-config=kubelet.image-service-endpoint=unix:///run/containerd/containerd.sock

0 commit comments

Comments
 (0)