Tagging and pushing the image

Open a PowerShell window inside this location and run the following commands:

docker build -t pscitutorial-cloudapp:0.1
docker image tag pscitutorial-cloudapp:0.1 <Azure Container Repository URL>/pscitutorial-cloudapp:0.1
docker image push <Container Registry name>/pscitutorial-cloudapp:0.1

Where <Container Registry name> is the Container Registry’s URL from the Creating an Azure Container Registry section.

If you see the error message unauthorized: authentication required run the following command:

az acr login --name <Container Registry name>

Where <Container Registry name> is the Container Registry’s URL from the Creating an Azure Container Registry section.

And then try again the image push command. You should see output similar to the following:

Cloud App push complete