Images pushed via docker(az acr) shows as untagged in the portal

61 Views Asked by At

I am attempting to push a docker image to az acr through a linux ubuntu 20.04 machine

I run the commands Docker login Registry Docker tag source:tag registry/target:tag docker push registry/target:tag

All these run without an error and I get a repository in the portal but it doesn't show with tags, the manifest also shows it as quarantined. Has anyone experienced this before or any ideas?

enter image description here Thanks

1

There are 1 best solutions below

0
Vivek Vaibhav Shandilya On

I am able to push the image with tag to Azure Container Registry using login server of the acr using following commands:

docker build --tag test_image:latest .  #to build image with tag
az acr login --name imagetag #logged in in ACR
docker tag test_image:latest imagetag.azurecr.io/azure_image:azurelatest # I am using login server of ACR
docker push imagetag.azurecr.io/azure_image:azurelatest #pushed image to ACR

enter image description here

OUTPUT:

enter image description here

enter image description here

For Reference check this document