无法在Win10中将Docker与代理一起使用

时间:2019-06-06 09:10:39

标签: docker docker-proxy

我想在win10中将Docker与代理一起使用,因为我在设置中使用GUI来设置代理,因此添加:

   http://127.0.0.1:9090

但无法正常工作,它总是返回相同的错误

docker login
WARNING: Error loading config file: C:\Users\mk\.docker\config.json: invalid character '"' after object key:value pair
Authenticating with existing credentials...
Login did not succeed, error: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username (mohamadk): Password:
Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

这是我的config.json

{
  "stackOrchestrator": "swarm",
  "auths": {
    "https://index.docker.io/v1/": {}
  },
  "credsStore": "wincred"

}

这就是我配置docker
的方式 add proxy to docker settings

这是我的代理设置

psiphone local proxy settings

我正在使用win10 Pro和Psiphon3作为代理

0 个答案:

没有答案