Docker mirror push error

  docker, question

On the serverregistryIt’s already started


Read the following documents to useInsecure RegistryTo addDOCKER_OPTS="--insecure-registry"
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= --insecure-registry -H fd://

sudo docker push

Error reporting:
Get tls: oversized record received with length 20527

Feeling isDOCKER_OPTSIn the wrong place …

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