问题
I have created a Dockerfile here and set up automated build for it on the docker hub, but nothing seems to happen. The build just shows "pending" and the Dockerfile on docker hub is empty. What am I doing wrong?
回答1:
The Dockerfile on the hub gets updated after the build runs. Also, the pending for the build means it just hasn't run yet. Sometimes it takes a while. Do you have your github account Linked in the Settings section of the Docker repository? You can reach the status page to see if anything is broken here: https://status.docker.com/.
By the way, I have several projects on Docker hub, I went to one of them just now and clicked 'Build' (this isn't necessary if your github is linked, the auto build does that), and it is stuck in Pending. Sometimes it takes a LONG time.
There has been at least one outage at Docker registry in the last 3 months while I was actively using it. This might not be an outage, but, it could be :-( It could also be a big load on Docker hub.
回答2:
You just started the job in the time, when the build-stack was stuck. Its related to this: https://forums.docker.com/t/build-stuck-in-pending-on-docker-hub/1360 Now, the issue is resolved and automated build should be fine.
来源:https://stackoverflow.com/questions/29825376/docker-automated-build-shows-empty-dockerfile