Explorar o código

更新 'install_docker_centos.sh'

周睿 %!s(int64=4) %!d(string=hai) anos
pai
achega
227c8c1e6d
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      install_docker_centos.sh

+ 2 - 1
install_docker_centos.sh

@@ -6,7 +6,8 @@ echo '{
       "https://registry.docker-cn.com",
       "http://hub-mirror.c.163.com"
   ],
-  "log-opts": {"max-size":"100m", "max-file":"3"}
+  "log-opts": {"max-size":"100m", "max-file":"3"},
+  "insecure-registries": ["docker.beswell.com:5050"]
 }' > /etc/docker/daemon.json
 sudo yum remove docker \
                   docker-client \