Docker:来自守护程序的错误响应:get&quot'https://registry-1.docker.io/v2/":服务不可用

发布于 2025-01-19 05:37:06 字数 1055 浏览 0 评论 0 原文

我知道这个问题看起来与许多其他问题非常相似。我还阅读了其中许多内容,包括 这个,我尝试了所有我能尝试的方法,但仍然没有解决我的问题。

我的问题

我使用的是 Windows 10、Docker Desktop,我无法构建拉取,甚至无法尝试官方 Hello world:docker run -d -p 80:80 docker/getting-started,它返回以下错误,这是我的命令提示符:

C:\windows\system32>docker run -d -p 80:80 docker/getting-started
Unable to find image 'docker/getting-started:latest' locally
docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": Service Unavailable.
See 'docker run --help'.

上周工作正常,我可以毫无问题地构建 docker 映像,这周突然无法工作。我已经尝试过以下操作:

  • 在 docker 桌面上手动将 DNS 设置为 8.8.8.8
  • ,Docker Engine config >在 docker 桌面上删除 json 中的 "buildkit": true
  • ,排除故障 > “清理/清除数据”> 在 docker 桌面上“重置为出厂默认设置”
  • ,登录/注销
  • 卸载/重新安装 Docker Desktop

我只是想知道一些想法,我应该做什么才能继续调查?造成这个问题的可能原因是什么?欢迎任何帮助/建议/推荐/评论,谢谢!

I know this question seems like very similar to many other questions. I also read many of them included this one, I tried all I can try for but still did not resolve my issue.

my issue

I am using Windows 10, Docker Desktop, I failed to build, pull or even try official Hello world: docker run -d -p 80:80 docker/getting-started, it return below error, here is my command prompt:

C:\windows\system32>docker run -d -p 80:80 docker/getting-started
Unable to find image 'docker/getting-started:latest' locally
docker: Error response from daemon: Get "https://registry-1.docker.io/v2/": Service Unavailable.
See 'docker run --help'.

It is working fine last week, I can build docker image without problem, this week suddenly not working. I already tried the below actions:

  • Manual DNS set to 8.8.8.8
  • on docker desktop, Docker Engine config > remove "buildkit": true in json
  • on docker desktop, troubleshoot > "Clean/Purge data" > "Reset to factory defaults"
  • on docker desktop, sign in / sign out
  • uninstall / reinstall Docker Desktop

I just want to have some idea, what should I do to continue investigate? What is the possible cause of this issue? Any help / suggestion / recommendation / comment are welcome, thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

别低头,皇冠会掉 2025-01-26 05:37:06

是我自己公司笔记本电脑的问题,我公司笔记本电脑最近自动安装了新的杀毒软件,导致大家无法使用Docker Desktop。
后来我们IT解决了这个问题,这个问题就消失了。

It's my own company Laptop problem, my company Laptop automatically installed a new anti-virus software recently, it caused everyone cannot use Docker Desktop.
Afterward our IT resolved the problem and this problem is gone.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文