Docker repository server gave HTTP response to HTTPS client

后端 未结 6 1185
粉色の甜心
粉色の甜心 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:58

    If you are using minikube in Windows machine along with minikube addons registry.

    1.Find the registry IP. It will be same as minikube IP.

    > minikube ip
    

    2.Edit the file:

    C:\Users\\.minikube\machines\minikube\config.json
    
     "InsecureRegistry": [
                    "10.96.0.0/12",      // Add coma
                    ":5000" //-> Add this line
                ],
    
    1. Restart minikube

      > minikube start

提交回复
热议问题