- Before pushing local Docker image to ACR, use the following command to log in to Docker
# docker login xyContainerRegistry.azurecr.io -u #username# -p #password#
- Tag the locally built image to the ACR repository:
# docker tag #xyImageId
push it to ACR using the following commands:
#docker push xyContainerRegistry.azurecr.io/starterapp:latest
- verify that your images are in the registry, you can also use the command
# az acr repository list -n xyContainerRegistry
Hope this helps!!
If you need to know more about Azure, then you should join Microsoft Azure certification course today.