I am following this tutorial showing how to develop IoT Edge modules with Linux containers.
I have created an Azure registry (I will call it myazureregistry
).
Now I am trying to "docker push" the example module to this registry:
sudo docker push myazureregistry.azurecr.io/filtermodule:0.0.1-amd64
Alas, when running this command, I run into the following error:
unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information.
I have checked the webpage. It states that:
The ability to docker push an image [...] requires authentication with the registry using the authorized identity.
But I have already successfully logged in using sudo az acr login --name myazureregistry
What am I missing here?
EDIT [09/04/2023]:
I checked the permissions listed here. My contributor role should allow me to push images.