Docker mirror push error

  docker, question

On the serverregistryIt’s already started

clipboard.png

Read the following documents to useInsecure RegistryTo addDOCKER_OPTS="--insecure-registry myregistrydomain.com:5000"
But I couldn’t find it./etc/sysconfig/dockerThis documentServiceThe following is added (centos7 does not seem to have/etc/sysconfig/dockerThis 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_OPTSIn the wrong place …

Maybe/etc/default/dockerThis address? Modify/addDOCKER_OPTSAs follows:

DOCKER_OPTS="--insecure-registry 121.42.217.35:5000"