How to add Dockerfile to a docker registry page?

I successfully built a docker image starting from a different image and using a Dockerfile. I then did a docker push into my account in the docker registry, but I can’t see the Dockerfile that I used in the registry page.

How do I add the Dockerfile I used to create the image into the registry page?

  • Docker: Build your own image issue
  • How can I prevent url re-writing in EventStore using Docker?
  • NGINX service failure in Dockers on limiting memory and CPU usage
  • How to configure the publish address of elasticsearch 5.0 with CLI flags?
  • docker client (docker 1.12/centos) http: server gave HTTP response to HTTPS client
  • Docker Java Application failing at obtaining input from console
  • Docker push to AWS ECR private repo failing with malformed JSON
  • Best workflow for developing and debugging - initially deploy in a docker environment
  • How to build and start containers on multiple docker machines
  • Can I configure Poltergeist/Capybara to point at PhantomJS in a Docker container?
  • How to import data to mongodb container and creating an image
  • Stateful applications on Docker
  • One Solution collect form web for “How to add Dockerfile to a docker registry page?”

    You’ll need to do an automated build of your Docker image. Basically, you’ll add the Dockerfile (and any related context) to a repo (GitHub, BitBucket, or your own), and Docker will build the image anytime it gets a webhook.

    From the docs:

    Automated Builds have several advantages:

    • Users of your Automated Build can trust that the resulting image was
      built exactly as specified.

    • The Dockerfile will be available to anyone with access to your
      repository on the Docker Hub registry.

    • Because the process is automated, Automated Builds help to make sure
      that your repository is always up to date.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.