Docker mirror push error

The registry on the server has already started

Read the next document to use Insecure Registry to add DOCKER_OPTS="--insecure-registry"
But did not find /etc/sysconfig/docker this document ,所以就在docker.service added the following (centos7 seems not /etc/sysconfig/docker this document)

 ExecStart=/usr/bin/docker daemon --registry-mirror= --insecure-registry -H fd:// 

sudo docker push

Get tls: oversized record received with length 20527

Feeling is DOCKER_OPTS misplaced place …

Heads up! This alert needs your attention, but it's not super important.