Skip to content

Commit 6d3a105

Browse files
authored
Merge pull request #14483 from spowelljr/criDockerSolutionMessage
Add solution message for when `cri-docker` is missing
2 parents 044fe4c + eda35dc commit 6d3a105

File tree

10 files changed

+38
-0
lines changed

10 files changed

+38
-0
lines changed

Diff for: pkg/minikube/reason/known_issues.go

+20
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,26 @@ var runtimeIssues = []match{
11471147
Regexp: re(`sudo systemctl start docker: exit status 5`),
11481148
GOOS: []string{"linux"},
11491149
},
1150+
{
1151+
Kind: Kind{
1152+
ID: "RT_DOCKER_MISSING_CRI_DOCKER_NONE",
1153+
ExitCode: ExRuntimeUnavailable,
1154+
Advice: `Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed`,
1155+
URL: "https://minikube.sigs.k8s.io/docs/reference/drivers/none",
1156+
Issues: []int{14410},
1157+
},
1158+
Regexp: re(`Unit file cri-docker\.socket does not exist`),
1159+
GOOS: []string{"linux"},
1160+
},
1161+
{
1162+
Kind: Kind{
1163+
ID: "RT_DOCKER_MISSING_CRI_DOCKER",
1164+
ExitCode: ExRuntimeUnavailable,
1165+
Advice: `This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again`,
1166+
Issues: []int{14410},
1167+
},
1168+
Regexp: re(`cannot stat '\/var\/run\/cri-dockerd\.sock': No such file or directory`),
1169+
},
11501170
{
11511171
Kind: Kind{
11521172
ID: "RT_CRIO_EXIT_5",

Diff for: translations/de.json

+2
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,7 @@
735735
"Things to try without Kubernetes ...": "Dinge, die man ohne Kubernetes ausprobieren kann ...",
736736
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "Dieses Addon hat keinen definierte Endpoint für den Befehl 'addons open'\nSie können einen definieren, indem Sie den Service mit dem Label {{.labelName}}:{{.addonName}} versehen (anotate)",
737737
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "Dies kann auch automatisch erfolgen, indem Sie die env var CHANGE_MINIKUBE_NONE_USER = true setzen",
738+
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
738739
"This control plane is not running! (state={{.state}})": "Diese Kontroll-Ebene läuft nicht! (state={{.state}})",
739740
"This driver does not yet work on your architecture. Maybe try --driver=none": "Dieser Treiber funktioniert noch nicht mit dieser Architektur. Versuche --driver=none zu verwenden",
740741
"This flag is currently unsupported.": "",
@@ -836,6 +837,7 @@
836837
"User name must be 60 chars or less.": "Der Benutzername kann 60 oder weniger Zeichen lang sein",
837838
"Userspace file server is shutdown": "Userspace File Server ist heruntergefahren",
838839
"Userspace file server: ": "Userspace File Server:",
840+
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
839841
"Using image repository {{.name}}": "Verwenden des Image-Repositorys {{.name}}",
840842
"Using image {{.registry}}{{.image}}": "Verwende Image {{.registry}}{{.image}}",
841843
"Using image {{.registry}}{{.image}} (global image repository)": "Verwende das Image {{.registry}}{{.image}} (globale Image Repository)",

Diff for: translations/es.json

+2
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@
737737
"Things to try without Kubernetes ...": "",
738738
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
739739
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "El proceso se puede automatizar si se define la variable de entorno CHANGE_MINIKUBE_NONE_USER=true",
740+
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
740741
"This control plane is not running! (state={{.state}})": "",
741742
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
742743
"This flag is currently unsupported.": "",
@@ -838,6 +839,7 @@
838839
"User name must be 60 chars or less.": "",
839840
"Userspace file server is shutdown": "",
840841
"Userspace file server: ": "",
842+
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
841843
"Using image repository {{.name}}": "Utilizando el repositorio de imágenes {{.name}}",
842844
"Using image {{.registry}}{{.image}}": "",
843845
"Using image {{.registry}}{{.image}} (global image repository)": "",

Diff for: translations/fr.json

+2
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@
711711
"Things to try without Kubernetes ...": "Choses à essayer sans Kubernetes ...",
712712
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "Ce module n'a pas de point de terminaison défini pour la commande 'addons open'.\nVous pouvez en ajouter un en annotant un service avec le libellé {{.labelName}} :{{.addonName}}",
713713
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "Cette opération peut également être réalisée en définissant la variable d'environment \"CHANGE_MINIKUBE_NONE_USER=true\".",
714+
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
714715
"This control plane is not running! (state={{.state}})": "Ce plan de contrôle ne fonctionne pas ! (état={{.state}})",
715716
"This driver does not yet work on your architecture. Maybe try --driver=none": "Ce pilote ne fonctionne pas encore sur votre architecture. Essayez peut-être --driver=none",
716717
"This flag is currently unsupported.": "Cet indicateur n'est actuellement pas pris en charge.",
@@ -807,6 +808,7 @@
807808
"User name must be 60 chars or less.": "Le nom d'utilisateur doit comporter 60 caractères ou moins.",
808809
"Userspace file server is shutdown": "Le serveur de fichiers de l'espace utilisateur est arrêté",
809810
"Userspace file server: ": "Serveur de fichiers de l'espace utilisateur :",
811+
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
810812
"Using image repository {{.name}}": "Utilisation du dépôt d'images {{.name}}…",
811813
"Using image {{.registry}}{{.image}}": "Utilisation de l'image {{.registry}}{{.image}}",
812814
"Using image {{.registry}}{{.image}} (global image repository)": "Utilisation de l'image {{.registry}}{{.image}} (référentiel d'images global)",

Diff for: translations/ja.json

+2
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@
737737
"Things to try without Kubernetes ...": "Kubernetes なしで試すべきこと ...",
738738
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "このアドオンは 'addons open' コマンド用に定義されたエンドポイントがありません。\nサービスに {{.labelName}}:{{.addonName}} ラベルを付与することでエンドポイントを追加できます",
739739
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "これは環境変数 CHANGE_MINIKUBE_NONE_USER=true を設定して自動的に行うこともできます",
740+
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
740741
"This control plane is not running! (state={{.state}})": "このコントロールプレーンは動作していません!(state={{.state}})",
741742
"This driver does not yet work on your architecture. Maybe try --driver=none": "このドライバーはあなたのアーキテクチャではまだ機能しません。もしかしたら、--driver=none を試してみてください",
742743
"This flag is currently unsupported.": "",
@@ -842,6 +843,7 @@
842843
"Userspace file server is shutdown": "ユーザースペースのファイルサーバーが停止しました",
843844
"Userspace file server:": "ユーザースペースのファイルサーバー:",
844845
"Userspace file server: ": "ユーザースペースのファイルサーバー: ",
846+
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
845847
"Using image repository {{.name}}": "{{.name}} イメージリポジトリーを使用しています",
846848
"Using image {{.registry}}{{.image}}": "{{.registry}}{{.image}} イメージを使用しています",
847849
"Using image {{.registry}}{{.image}} (global image repository)": "{{.registry}}{{.image}} イメージ (グローバルイメージリポジトリー) を使用しています",

Diff for: translations/ko.json

+2
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@
740740
"Things to try without Kubernetes ...": "",
741741
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
742742
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "",
743+
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
743744
"This control plane is not running! (state={{.state}})": "",
744745
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
745746
"This flag is currently unsupported.": "",
@@ -839,6 +840,7 @@
839840
"User name must be 60 chars or less.": "",
840841
"Userspace file server is shutdown": "",
841842
"Userspace file server: ": "",
843+
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
842844
"Using image repository {{.name}}": "",
843845
"Using image {{.registry}}{{.image}}": "",
844846
"Using image {{.registry}}{{.image}} (global image repository)": "",

Diff for: translations/pl.json

+2
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,7 @@
751751
"Things to try without Kubernetes ...": "",
752752
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
753753
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "",
754+
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
754755
"This control plane is not running! (state={{.state}})": "",
755756
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
756757
"This flag is currently unsupported.": "",
@@ -848,6 +849,7 @@
848849
"User name must be 60 chars or less.": "",
849850
"Userspace file server is shutdown": "",
850851
"Userspace file server: ": "",
852+
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
851853
"Using image repository {{.name}}": "",
852854
"Using image {{.registry}}{{.image}}": "",
853855
"Using image {{.registry}}{{.image}} (global image repository)": "",

Diff for: translations/ru.json

+2
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,7 @@
682682
"Things to try without Kubernetes ...": "",
683683
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
684684
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "",
685+
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
685686
"This control plane is not running! (state={{.state}})": "",
686687
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
687688
"This flag is currently unsupported.": "",
@@ -775,6 +776,7 @@
775776
"User name must be 60 chars or less.": "",
776777
"Userspace file server is shutdown": "",
777778
"Userspace file server: ": "",
779+
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
778780
"Using image repository {{.name}}": "",
779781
"Using image {{.registry}}{{.image}}": "Используется образ {{.registry}}{{.image}}",
780782
"Using image {{.registry}}{{.image}} (global image repository)": "",

Diff for: translations/strings.txt

+2
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,7 @@
682682
"Things to try without Kubernetes ...": "",
683683
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
684684
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "",
685+
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
685686
"This control plane is not running! (state={{.state}})": "",
686687
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
687688
"This flag is currently unsupported.": "",
@@ -775,6 +776,7 @@
775776
"User name must be 60 chars or less.": "",
776777
"Userspace file server is shutdown": "",
777778
"Userspace file server: ": "",
779+
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
778780
"Using image repository {{.name}}": "",
779781
"Using image {{.registry}}{{.image}}": "",
780782
"Using image {{.registry}}{{.image}} (global image repository)": "",

Diff for: translations/zh-CN.json

+2
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,7 @@
839839
"Things to try without Kubernetes ...": "",
840840
"This addon does not have an endpoint defined for the 'addons open' command.\nYou can add one by annotating a service with the label {{.labelName}}:{{.addonName}}": "",
841841
"This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true": "此操作还可通过设置环境变量 CHANGE_MINIKUBE_NONE_USER=true 自动完成",
842+
"This cluster was created before minikube v1.26.0 and doesn't have cri-docker installed. Please run 'minikube delete' and then start minikube again": "",
842843
"This control plane is not running! (state={{.state}})": "",
843844
"This driver does not yet work on your architecture. Maybe try --driver=none": "",
844845
"This flag is currently unsupported.": "",
@@ -947,6 +948,7 @@
947948
"User name must be 60 chars or less.": "",
948949
"Userspace file server is shutdown": "",
949950
"Userspace file server: ": "",
951+
"Using Kubernetes v1.24+ with the Docker runtime requires cri-docker to be installed": "",
950952
"Using image repository {{.name}}": "正在使用镜像存储库 {{.name}}",
951953
"Using image {{.registry}}{{.image}}": "",
952954
"Using image {{.registry}}{{.image}} (global image repository)": "",

0 commit comments

Comments
 (0)