1. mac安全模式关了
2. docker源改了,国内的
3、k8s的git仓库,匹配到版本后,下载了。
依旧无法正常启动···
20230621 13:36:45
第一次日志记录
2023-06-21 13:31:23.630123+0800 localhost com.docker.backend[17097]: (0fd28985) ead7cf58-KubernetesManager C<-S d75b0a51-VMDockerdAPI POST /kubernetes/start (6m11.629756119s): pulling kubernetes images: tagging hubproxy.docker.internal:5000/docker/desktop-storage-provisioner:v2.0 with docker/desktop-storage-provisioner:v2.0: Error response from daemon: No such image: hubproxy.docker.internal:5000/docker/desktop-storage-provisioner:v2.0 2023-06-21 13:31:23.631135+0800 localhost com.docker.backend[17097]: resetting kubernetes: 1 error occurred: * starting kubernetes: pulling kubernetes images: tagging hubproxy.docker.internal:5000/docker/desktop-storage-provisioner:v2.0 with docker/desktop-storage-provisioner:v2.0: Error response from daemon: No such image: hubproxy.docker.internal:5000/docker/desktop-storage-provisioner:v2.0 2023-06-21 13:31:23.825662+0800 localhost com.docker.driver.amd64-linux[27427]: error reading response from Docker: unexpected EOF 2023-06-21 13:31:23.826370+0800 localhost com.docker.driver.amd64-linux[27427]: error reading response from Docker: unexpected EOF 2023-06-21 13:31:23.827772+0800 localhost com.docker.driver.amd64-linux[27427]: error reading response from Docker: unexpected EOF 2023-06-21 13:31:23.828366+0800 localhost com.docker.driver.amd64-linux[27427]: error reading response from Docker: unexpected EOF 2023-06-21 13:31:23.829401+0800 localhost com.docker.driver.amd64-linux[27427]: error reading response from Docker: unexpected EOF 2023-06-21 13:31:31.471445+0800 localhost com.docker.virtualization[30004]: (LaunchServices) [com.apple.launchservices:error] Constructing NSError NSOSStatusErrorDomain/-10813 at _LSCopyLocalDatabase:705 2023-06-21 13:31:31.476780+0800 localhost com.docker.virtualization[30004]: (libMobileGestalt.dylib) Failed to copy the SysCfgDict MG key with error: 0 2023-06-21 13:31:31.481311+0800 localhost com.docker.virtualization[30004]: (LaunchServices) [com.apple.launchservices:error] Constructing NSError NSOSStatusErrorDomain/-10813 at getValueForNode:1358 2023-06-21 13:31:31.483914+0800 localhost com.docker.virtualization[30004]: (LaunchServices) [com.apple.launchservices:error] Constructing NSError NSOSStatusErrorDomain/-10813 at getValueForNode:1358 2023-06-21 13:31:31.485395+0800 localhost com.docker.virtualization[30004]: (LaunchServices) [com.apple.launchservices:error] Constructing NSError NSOSStatusErrorDomain/-10813 at getValueForNode:1358 2023-06-21 13:31:31.501953+0800 localhost com.docker.virtualization[30004]: (AE) [com.apple.appleevents:main] _AppleEventsCheckInAppWithBlock(), callback with errorRef=[ NULL ] ) 2023-06-21 13:31:31.501973+0800 localhost com.docker.virtualization[30004]: (AE) [com.apple.appleevents:main] Check-in result: 0 ports, errorRef=[ NULL ] 2023-06-21 13:31:35.109938+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.118090+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.119753+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.123595+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.126681+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.132308+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.158406+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.160689+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.164225+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.167569+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.173719+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.177895+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.181334+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.185564+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.188579+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.191511+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe 2023-06-21 13:31:35.195915+0800 localhost com.docker.backend[17097]: error copying: write unix httpproxy.sock->: write: broken pipe
本次日志分析
(1) k8s启动,kubernets start pull的时候报错,镜像文件不存在。
(2) 镜像文件: hubproxy.docker.internal:5000/docker/desktop-storage-provisioner:v2.0,实际上,不该走这步了。
(3) 我本地的k8s文件,没有关联上,比较神奇。自带的bash脚本,执行完后,我docker cli已经加载出来文件了。
第二次报错
2023-06-21 16:14:48.876641+0800 localhost docker-credential-osxkeychain[41127]: (CoreFoundation) [com.apple.CFBundle:strings] Bundle: <private>, key: -25300, value: -25300, table: SecErrorMessages, localizationName: (null), result: The specified item could not be found in the keychain. github.com/docker/pinata/common/pkg/proxy.withError.func1({0x100a129a8, 0xc0001e00e0}, 0xc0000cf598?) 2023-06-21 16:14:49.097950+0800 localhost com.docker.backend[17097]: error copying: read tcp 192.168.1.194:63039->120.55.105.209:443: read: connection reset by peer 2023-06-21 16:14:52.887997+0800 localhost com.docker.backend[17097]: (e36b89cd) 30d3e31d-CLIAPI S<-C Go-http-client/1.1 bind: {"command":"pull","context":"moby","source":"cli","status":"failure"}
没有登录docker账号·······
记录一些镜像
20230622 13:53:45
docker/desktop-vpnkit-controller
docker/desktop-storage-provisioner
下载了这两个镜像后,在代理加持下,OK了。