Docker repository server gave HTTP response to HTTPS client

后端 未结 6 1254
粉色の甜心
粉色の甜心 2021-02-05 02:09

I use Docker toolbox for windows and i`m trying run private docker registry from this documentation https://docs.docker.com/registry/deploying/

But it`s not work for me.

6条回答
  •  耶瑟儿~
    2021-02-05 02:33

    On CentOS 7.2.1511, I had to create a new file

    /etc/docker/daemon.json 
    

    with the contents

    { "insecure-registries":["host:port"] } 
    

    (The host is the hostname of the server hosting my docker registry and port is the port where the docker registry is available. In my case, those are 192.168.99.1:50000)

    and then restart docker daemon by doing:

    $ sudo service docker restart
    

提交回复
热议问题