首页 > 解决方案 > Docker Hub Registry 无法从 Github 存储库构建 docker 映像

问题描述

两天以来,我不知道为什么,我无法从Docker Hub Registry与链接的 github 项目构建 docker 映像(它以前可以工作)

许多答案都是关于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)

我尝试搜索,我没有落入与我无关的答案。

标签: dockergithubbuild

解决方案


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

我在这里为那些遇到同样问题的人提供了答案。

看起来 Docker 改变了他的应用程序的名称。从Docker Hub Registry重命名为Docker Hub Builder

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

它在 Github 中为我添加了一个授权应用程序,图像宽度Docker Hub Builder的证明

在此处输入图像描述


推荐阅读