安装包:kubesphere-all-v3.0.0-offline-linux-amd64.tar.gz
安装环境centos7.5
提示没找到镜像,很奇怪,干净的环境肯定没镜像啊,这镜像不应该是安装包自己初始化进去吗?
[root@localhost kubesphere-all-v3.0.0-offline-linux-amd64]# ./kk init os -f config-sample.yaml -s ./dependencies/ –add-images-repo
INFO[19:21:18 CST] Init operating system
WARN[19:21:34 CST] Task failed …
WARN[19:21:34 CST] error: Unable to find image ‘registry:2’ locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See ‘docker run –help’.
: exit status 125
Error: Failed to init operating system: Unable to find image ‘registry:2’ locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See ‘docker run –help’.
: exit status 125
Usage:
kk init os [flags]
Flags:
–add-images-repo Create a local images registry
-f, –filename string Path to a configuration file
-h, –help help for os
-s, –sources string Path to the dependencies’ dir
Global Flags:
–debug Print detailed information (default true)
Failed to init operating system: Unable to find image ‘registry:2’ locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See ‘docker run –help’.
: exit status 125