Docker Hub Registry cannot build docker image from Github repository

喜你入骨 提交于 2021-02-10 12:43:28

问题


Since two days, i don't know why, i cannot build a docker image from Docker Hub Registry with linked github projects (it's working previously)

Many answers were about a github submodule It was not my case.

Here are the logs

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)

I tried searching, I did not fall on the answers that not concerned me.


回答1:


After many hours of searching, I think found the answer.

I put here the answer, for those who would fall on the same problem.

It looks like Docker have changed is the name of his app. Rename from Docker Hub Registry to Docker Hub Builder

For repair it, so I cut the application link between Docker and Github. And re-create the link.

It added me an application for authorization in Github, the proof in image width Docker Hub Builder




回答2:


May someone need this. For me, clicking the re-link button for the GitHub account on the Docker-Hub solved the problem.

You can re-link in this page: https://hub.docker.com/settings/linked-accounts



来源:https://stackoverflow.com/questions/56373487/docker-hub-registry-cannot-build-docker-image-from-github-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!