Pushing a public image to Docker Hub

Login to Docker Hub with your credentials:

docker login

Tag your image with your Docker account id:

docker tag imagename dockeraccountid/imagename

Push to Docker Hub:

docker push dockeraccountid:imagename

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.