docker / hub-feedback

Feedback and bug reports for the Docker Hub
https://hub.docker.com
233 stars 40 forks source link

Unable to find Dockerfile on Docker Hub #2192

Closed pluveto closed 2 years ago

pluveto commented 2 years ago

I'm in China and our government blocked dockerhub. I wanna download some dockerfiles in order to do some custom things. But I cannot find a way to do that.

image image image

I noticed commands of every layer are given. But I have to copy and paste, which is upsetting.

ingshtrom commented 2 years ago

Just to confirm--is this a new issue that has come up?

Is it just pulling images that is the problem? It seems you can access the UI, right?

pluveto commented 2 years ago

I'm just wondering whether there is a way to get the original dockerfile of an image from the dockerhub, because in many of my cases, I need to modify some of these instructions in the dockerfile to use mirrors

ingshtrom commented 2 years ago

O.o, I misunderstood your question. Unfortunately, there is no great solution for finding the exact Dockerfile contents. You would need to find the source repository on an SCM like GitHub/GitLab/BitBucket/etc, copy the contents, and then make your modifications.

pluveto commented 2 years ago

Got it. Thank you.