I have done the following
Steps to reproduce
- Login to the Azure Regisry (I followed this documentation) :
TOKEN=$(az acr login --name myregistry --expose-token --output tsv --query accessToken)
container registry login myregistry.azurecr.io --username 00000000-0000-0000-0000-000000000000 --password-stdin <<< $TOKEN
- I got the message:
- Try to pull an image:
container image pull myregistry.azurecr.io/api/dummy:latest
Current behavior
I got the follow error:
Error: internalError: "HTTP request to https://myregistry.azurecr.io/oauth2/token?client_id=containerization-registry-client&service=myregistry.azurecr.io&scope=repository:api/dummy:pull failed with response: 401 Unauthorized. No credentials found for host myregistry.azurecr.io"
Expected Behavior
The image should be pulled.
Environment
- OS: 15.5 (24F74)
- Xcode: N/A
- Container: container CLI version 0.2.0 (build: release, commit: 3b5c253)
Relevant log output
Code of Conduct