Docker Hub 注册表无法从 Github 存储库构建 docker 镜像

2024-03-23

两天以来,我不知道为什么,我无法从中构建 docker 镜像Docker 中心注册表与链接的 github 项目(之前可以使用)

许多答案都是关于github子模块这不是我的情况。

这是日志

Building in Docker Cloud's infrastructure...
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
please ensure the correct public key is added to the list of trusted keys for this repository (128)

我尝试搜索,但没有找到与我无关的答案。


经过几个小时的搜索,我想找到了答案。

我把答案放在这里,供那些遇到同样问题的人参考。

看起来 Docker 已经改变了他的应用程序的名称。重命名自Docker 中心注册表 to Docker 中心生成器

为了修复它,所以我切断了 Docker 和 Github 之间的应用程序链接。并重新创建链接。

它给我添加了Github上的授权申请,图片宽度的证明Docker 中心生成器

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Docker Hub 注册表无法从 Github 存储库构建 docker 镜像 的相关文章

随机推荐