On the serverregistry
It’s already started
Read the following documents to useInsecure Registry
To addDOCKER_OPTS="--insecure-registry myregistrydomain.com:5000"
But I couldn’t find it./etc/sysconfig/docker
This documentService
The following is added (centos7 does not seem to have/etc/sysconfig/docker
This document)
ExecStart=/usr/bin/docker daemon --registry-mirror=https://187wuopo.mirror.aliyuncs.com --insecure-registry 121.42.217.35:5000 -H fd://
sudo docker push 121.42.217.35:5000/php:7
Error reporting:Get https://121.42.217.35:5000/v1/_ping: tls: oversized record received with length 20527
Feeling isDOCKER_OPTS
In the wrong place …
Maybe
/etc/default/docker
This address? Modify/addDOCKER_OPTS
As follows:DOCKER_OPTS="--insecure-registry 121.42.217.35:5000"