How to share an docker image using hub.docker.com?

Spread the Knowledge
Step 1 - [DOCKER HUB] Register a account at hub.docker.com & verify your account

Step 2 - [Laptop] Login to hub.docker.com
$ docker login

Step 3 - [DOCKER HUB] Create a repo at hub.docker.com e.g - devopsschools/july21 

Step 4 - [Laptop] Make sure that local repo name must match with repo name of  hub.docker.com
$ docker tag ub-up-git devopsschools/july2

Step 5 - [Laptop] Push a docker image to hub.docker.com
$ docker push devopsschools/july21 

Step 6 - [DOCKER HUB] Verify at website

Rajesh Kumar
Latest posts by Rajesh Kumar (see all)