将docker设置为使用系统代理

时间:2019-10-09 11:50:00

标签: docker proxy docker-compose

我试图在Windows的命令提示符下运行命令

docker run busybox ping google.com

并得到此错误

docker: Error response from daemon: error parsing HTTP 403 response body: invalid character  '<' looking for beginning of value: "<html><body><h1>403 Forbidden</h1>\nSince Docker is a US company, we must comply with US export control regulations. In an effort to comply with these, we now block all IP addresses that are located in Cuba, Iran, North Korea, Republic of Crimea, Sudan, and Syria. If you are not in one of these cities, countries, or regions and are blocked, please reach out to https://support.docker.com\n</body></html>\n\n".

在docker客户端设置中,> 使用系统代理选项为灰色。

0 个答案:

没有答案