Pushing Docker images to Docker Hub Repository

Posted: September 29, 2018 in docker

First create free account on https://hub.docker.com.

Create repository:

1.png

Choose visibility

2.png

Log in to Your repostitory

docker login docker.io

Because i’m already authenticated by Docker for Windows app, othervise, i would need to provide Docker hub credentials

3.png

4.PNG

Push image to Docker Hub:

5.PNG

We need to re-tag image to match our repository name

6.PNG

docker tag httpd:latest dragan979/myrepo:myhttpd

and push it to Docker Hub

docker push dragan979/myrepo:myhttpd

 

6-1.PNG

 

7.PNG

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s