Docker添加deamon.json

docker 

vim /etc/systemd/system/docker.service.d/docker-options.conf

[Service]
Environment="DOCKER_OPTS=--insecure-registry=gcr.io --insecure-registry=quay.io  --insecure-registry=es.image   --insecure-registry=hub.easystack.io  --graph=/var/lib/docker  --log-opt max-size=50m --log-opt max-file=5 \
--iptables=false"

systemctl daemon-reload

 systemctl  restart docker

你可能感兴趣的:(Docker添加deamon.json)