vim /usr/lib/systemd/system/docker.service ExecStart=/usr/bin/dockerd --insecure-registry 192.168.0.153:5000
systemctl daemon-reload systemctl restart docker
vim /usr/lib/systemd/system/docker.service ExecStart=/usr/bin/dockerd --insecure-registry 192.168.0.153:5000
systemctl daemon-reload systemctl restart docker
转载于:https://my.oschina.net/angelbo/blog/3049714