Hi guys, I have prepared some steps to allow you to upload your local docker image to ACR.
Login into docker hub
$ docker login
Authenticating with existing credentials...
Login Succeeded
Pull your image
$ docker pull httpd
Using default tag: latest
latest: Pulling from library/httpd
bf5952930446: Already exists
3d3fecf6569b: Pull complete
b5fc3125d912: Pull complete
679d69c01e90: Pull complete
76291586768e: Pull complete
Digest: sha256:3cbdff4bc16681541885ccf1524a532afa28d2a6578ab7c2d5154a7abc182379
Status: Downloaded newer image for httpd:latest
docker.io/library/httpd:latest
$ docker images httpd
REPOSITORY TAG IMAGE ID CREATED SIZE
httpd latest a6ea92c35c43 13 days ago 166MB
Login into Azure and set your current subscription
az login
az account set -s <subscription id>
Login into ACR
az acr login --name <acr name>.azurecr.io
Tag your image
docker tag httpd <ACR name>.azurecr.io
Push the image to ACR
docker push <ACR name>.azurecr.io
Check if your image was uploaded properly
az acr repository list -n <ACR name>
If you have any question, please leave a comment below and I’ll be glad to help.