Deploy images from Azure Container Registry
Enable the registry admin account
In this exercise, we will enable the registry admin account and use it to deploy your image to an Azure Container Instance from the command line.
Run the following commands to enable the admin account on your registry and retrieve its username and password.
Azure CLI
az acr update -n $ACRNAME --admin-enabled true
az acr credential show --name $ACRNAME
The output is similar to below. Take note of the username and the value for password.
output
{
"passwords": [
{
"name": "password",
"value": "aaaaa"
},
{
"name": "password2",
"value": "bbbbb"
}
],
"username": "ccccc"
}
When I run the command above, I do not get a username or password?
