Merge pull request #136 from mazyi/master

增加英文TIPS和问题诊断,修改最新版本docker的pki文件目录
pull/140/head
Li Yi 4 years ago committed by GitHub
commit 46701ffe35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -75,7 +75,7 @@ pred='process matches ".*(ocker|vpnkit).*"
在Windows上:
如果在Kubernetes部署的过程中出现问题可以在 C:\ProgramData\DockerDesktop下的service.txt 查看Docker日志;
如果在Kubernetes部署的过程中出现问题可以在 C:\ProgramData\DockerDesktop下的service.txt 查看Docker日志, 在 C:\Users\yourUserName\AppData\Local\Docker下的log.txt 查看Kubernetes日志
**问题诊断**
@ -84,7 +84,7 @@ pred='process matches ".*(ocker|vpnkit).*"
* [Issue 3769(comment)](https://github.com/docker/for-win/issues/3769#issuecomment-486046718) 或 [Issue 3649(comment)](https://github.com/docker/for-mac/issues/3649#issuecomment-497441158)
* 在macOS上面执行 ```rm -fr '~/Library/Group\ Containers/group.com.docker/pki'```
* 在Windows上面删除 'C:\ProgramData\DockerDesktop\pki' 目录
* 在Windows上面删除 'C:\ProgramData\DockerDesktop\pki' 目录 和 'C:\Users\yourUserName\AppData\Local\Docker\pki' 目录
* [Issue 1962(comment)](https://github.com/docker/for-win/issues/1962#issuecomment-431091114)
### 配置 Kubernetes

@ -55,6 +55,31 @@ Enable Kubernetes, and wait a while for Kubernetes is running
![k8s](images/k8s.png)
**TIPS**
On Mac:
If facing problems when deploy Kubernetes, you can check ocker desktop application's log to get realtime log
```bash
pred='process matches ".*(ocker|vpnkit).*"
|| (process in {"taskgated-helper", "launchservicesd", "kernel"} && eventMessage contains[c] "docker")'
/usr/bin/log stream --style syslog --level=debug --color=always --predicate "$pred"
```
On Windows:
If facing problems when deploy Kubernetes, you can check docker log in C:\ProgramData\DockerDesktop\service.txt, check Kuberneteslog in C:\Users\yourUserName\AppData\Local\Docker\log.txt
**problem diagnosis**
If you see Kubernetes stuck in Starting, please refer:
* [Issue 3769(comment)](https://github.com/docker/for-win/issues/3769#issuecomment-486046718) or [Issue 3649(comment)](https://github.com/docker/for-mac/issues/3649#issuecomment-497441158)
* On MacOS, execute ```rm -fr '~/Library/Group\ Containers/group.com.docker/pki'```
* On Windows, delete folders 'C:\ProgramData\DockerDesktop\pki' and 'C:\Users\yourUserName\AppData\Local\Docker\pki'
* [Issue 1962(comment)](https://github.com/docker/for-win/issues/1962#issuecomment-431091114)
### Config Kubernetes

Loading…
Cancel
Save