.NET Tutorial - Deploy a microservice to Azure

Push to Docker Hub

Docker Hub is a central place to upload Docker images. Many products, including Microsoft Azure, can create containers based on images in Docker Hub.

Login to Docker Hub

In your command prompt, run the following command:

In your terminal, run the following command:

Command prompt
docker login

Use the username and password created when you downloaded Docker in the previous tutorial. You can visit the Docker Hub website to reset your password if needed.

Upload image to Docker Hub

Re-tag (rename) your Docker image under your username and push it to Docker Hub using the following commands:

Command prompt
docker tag mymicroservice [YOUR DOCKER USERNAME]/mymicroservice
docker push [YOUR DOCKER USERNAME]/mymicroservice
Continue