Rahul Prasad
Rahul Prasad

Reputation: 8222

How to upload Dockerfile to dockerhub?

Few docker images have a Dockerfile tab with its content. For example
https://hub.docker.com/r/marvambass/nginx-ssl-secure/
https://hub.docker.com/r/marvambass/nginx-ssl-secure/dockerfile

When I uploaded a docker image to dockerhub. No such tab was created. I also dont see any option to upload a Dockerfile in the dashboard. What am I missing ?

Upvotes: 2

Views: 875

Answers (1)

Adeel Siddiqui
Adeel Siddiqui

Reputation: 706

AFAIK, the Dockerfile is only shown for repositories which have automated builds set up. See: https://docs.docker.com/docker-hub/builds/ and https://docs.docker.com/docker-hub/builds/advanced/ on how to set it up. This is a walkthrough: https://www.youtube.com/watch?v=sz96JV8S-Bk on how to set up one.

Upvotes: 4

Related Questions