伺服器上的registry
已經啟動了
看了下文檔要使用Insecure Registry
要加DOCKER_OPTS="--insecure-registry myregistrydomain.com:5000"
但沒找到/etc/sysconfig/docker service
裡面新增如下(centos7好像沒/etc/sysconfig/docker
這檔了)
ExecStart=/usr/bin/docker daemon --registry-mirror=https://187wuopo.mirror.aliyuncs.com --insecure-registry 121.42.217.35:5000 -H fd://
報錯:
Get https://121.42.217.35:5000/v1/_ping: tls: oversized record received with length 20527
感覺是
放錯地方了...
習慣沉默2017-04-24 16:02:03
可能是/etc/default/docker
这个地址?修改/添加DOCKER_OPTS
如下:
DOCKER_OPTS="--insecure-registry 121.42.217.35:5000"