did not detect an --insecure-registry argument on the Docker daemon解决方法
问题描述:启动Openshift(openshift-origin-server-v3.11.0-0cbc58b-linux-64bit)时,报错信息如下所示:[root@zeppelin openshift]# oc cluster upGetting a Docker client ...Checking if image openshift/origin-control-pla...
·
问题描述:
启动Openshift(openshift-origin-server-v3.11.0-0cbc58b-linux-64bit)时,报错信息如下所示:
[root@zeppelin openshift]# oc cluster up
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11 is available ...
Checking type of volume mount ...
Determining server IP ...
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
error: did not detect an --insecure-registry argument on the Docker daemon
解决方法:
如下,在启动命令中跳过相关检查
oc cluster up --skip-registry-check=true
参考:https://github.com/openshift/origin/issues/8997
其它说明
照网上的各种办法(主要在docker不同位置的配置文件中添加相关内容),最后虽然docker info命令已经可以查询到添加的仓库信息,但是依然不好使:
[root@openshift opt]# docker info
Containers: 9
Running: 7
Paused: 0
Stopped: 2
Images: 12
Server Version: 17.05.0-ce
Storage Driver: overlay
Backing Filesystem: xfs
Supports d_type: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9048e5e50717ea4497b757314bad98ea3763c145
runc version: 9c2d8d184e5da67c95d601382adf14862e4f2228
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-514.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 3.686GiB
Name: openshift.zet.com
更多推荐
已为社区贡献9条内容
所有评论(0)