Add Insecure Registry to Docker

后端 未结 6 932
醉话见心
醉话见心 2020-12-12 11:24

I have a docker 1.12 running on CentOS. I am trying to add insecure registry to it and things mentioned in documentation just don\'t work. The system uses systemd

6条回答
  •  生来不讨喜
    2020-12-12 12:00

    For me the solution was to add the registry to here:

    /etc/sysconfig/docker-registries

    DOCKER_REGISTRIES=''
    DOCKER_EXTRA_REGISTRIES='--insecure-registry  b.example.com'
    

提交回复
热议问题