我想在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"
}
这是我的代理设置
我正在使用 win10 Pro 和 Psiphon3 进行代理