We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1876239 commit 2479302Copy full SHA for 2479302
1 file changed
docs/pod.md
@@ -108,3 +108,19 @@ kubectl get pods
108
109
kubectl port-forward hellok8s 3000:3000
110
```
111
+
112
+关于启动失败
113
114
+如果查看Pod的状态为 ErrImagePull 或者 ImagePullBackOff
115
116
+```
117
+NAME READY STATUS RESTARTS AGE
118
+hellok8s 0/1 ImagePullBackOff 0 22m
119
120
121
+尝试切换为当前环境的docker-env, 删除pod, 然后重新构建镜像即可
122
++ 官方文档: [Pushing directly to the in-cluster Docker daemon (docker-env)](https://minikube.sigs.k8s.io/docs/handbook/pushing/)
123
124
+```shell
125
+eval $(minikube docker-env)
126
0 commit comments