Try-This exercise - View container images
Use this Try-This exercise to gain some hands-on experience with Azure Container Registry.
To verify the push in the portal, navigate to your registry. In the registry menu, under Services, select Repositories, open the hello-world repository, and verify that the v1 tag appears under Tags.
Note
When the registry uses RBAC Registry + ABAC Repository Permissions, listing repositories in the portal requires the Container Registry Repository Catalog Lister role. Viewing tags or repository content requires Container Registry Repository Reader or Container Registry Repository Writer. This module assigned Container Registry Repository Writer earlier.
Note
After repository roles are assigned, Azure role assignment changes can take up to 10 minutes to take effect. If the portal repository list or tag view fails with a 401 or 403 error shortly after assignment, wait and refresh. If needed, sign out and in again to refresh your portal session.
Note
To complete this procedure, you need an Azure subscription.
From Container registries, select the registry you created in the previous unit.
In the registry menu, under Services, select Repositories.
Select the hello-world repository. Under Tags, verify that the
v1tag is listed.Optionally, verify the repository and tag from the Azure CLI. Use the registry resource name for
<registry-name>, not the Login server value.az acr repository list -n <registry-name> --output tableaz acr repository show-tags -n <registry-name> --repository hello-world --output table