从昨天开始,我无法再拉图像了。而且我无法使用docker login. 出现同样的错误:
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)
Run Code Online (Sandbox Code Playgroud)
我不支持任何代理,我所有的 docker 容器本身都运行良好。我在家里运行它,我使用的唯一反向代理在容器中运行,这不是原因。
继续运行:
当我跑步时sudo docker-compose build我得到
Building web
Step 1/8 : FROM python:3.7-alpine
ERROR: Service 'web' failed to build: 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 …Run Code Online (Sandbox Code Playgroud)