Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.1k views
in Technique[技术] by (71.8m points)

windows subsystem for linux - Unexpected EOF from Docker Registry

I’m receiving an unexpected EOF (I think) when I try to get to the Docker registry during a docker pull. I am trying to pull the mongo image, but I get the same message for any docker image. Here is the message from Power Shell.

docker: Error response from daemon: Get https://registry-1.docker.io/v2/: EOF.

I found this post from earlier this year, but as far as I can tell, I don’t have docker-cli installed in wsl:

wsl --list --verbose
NAME                STATE    VERSION
Debian              running  2
docker-desktop      running  2
docker-desktop-data running  2

I have uninstalled and reinstalled both docker and wsl twice. Same result every time. It’s not a proxy/firewall issue. “curl https://registry-1.docker.io” returns a 200. “curl https://registry-1.docker.io/v2/” returns a 403, which seems normal to me since I’m not specifying any kind of file or page.

Any help is appreciated.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...