Closed johnhamm closed 6 years ago
Never mind - I was using my Azure account credentials for the "docker login myazureregistry.azurecr.io" command.
Was able to get past it using:
az acr update --name myregistryname --admin-enabled true
az acr credential show --name myregistryname --query "passwords[0].value"
docker login -u myregistryname -p "whateverpasswordisfromstep2" myregistryname.azurecr.io
When I right-click an image and select "Push" the extension tries to push to Docker Hub:
I have my Azure private repository setup and it is displayed in the Azure Registries branch of the Docker Explorer. Also, when I first installed the docker extension, I created a Docker Hub ID and entered it in the extension as well.
Then I realized that step wasn't necessary (I ony need the Azure Private Registry). However, it won't push to the Azure registry at all even when I logout of the Docker Hub registry.
I uninstalled the extension and reinstalled but it still doesn't allow me t push.