Can not pull/push images after update docker to 1.12

前端 未结 8 1196
长发绾君心
长发绾君心 2020-12-22 17:52

The private registry was worked well based on docker 1.10.3,but I can not pull/push images after the docker updated to 1.12.0.

I had modified the /etc/sysconfig/dock

8条回答
  •  情书的邮戳
    2020-12-22 18:10

    modifying "/etc/docker/daemon.json" didn't work for me.

    Putting it under "/etc/sysconfig/docker" as below, worked.

    INSECURE_REGISTRY="--insecure-registry 192.168.24.1:8787"

提交回复
热议问题