|
1 | 1 | ---
|
2 |
| -title: Azure container registry repositories |
| 2 | +title: Azure Container Registry repositories |
3 | 3 | description: How to use Azure Container Registry repositories for Docker images
|
4 | 4 | services: container-registry
|
5 | 5 | author: cristy
|
6 | 6 | manager: timlt
|
7 | 7 |
|
8 | 8 | ms.service: container-registry
|
9 | 9 | ms.topic: article
|
10 |
| -ms.date: 03/24/2017 |
| 10 | +ms.date: 01/05/2018 |
11 | 11 | ms.author: cristyg
|
12 | 12 | ---
|
13 | 13 |
|
14 |
| -# Azure container registry repositories |
15 |
| - |
16 |
| -Azure container registry allows you to store container images in repositories. By storing images in repositories, you can have groups of images (or version of images) in isolated environments. You can specify these repositories when you push images to your registry. |
| 14 | +# Azure Container Registry repositories |
17 | 15 |
|
| 16 | +Azure container registry allows you to store Docker container images in repositories. By storing images in repositories, you can have groups of images (or versions of images) in isolated environments. You can specify these repositories when you push images to your registry. |
18 | 17 |
|
19 | 18 | ## Prerequisites
|
20 |
| -* **Azure container registry** - Create a container registry in your Azure subscription. For example, use the [Azure portal](container-registry-get-started-portal.md) or the [Azure CLI 2.0](container-registry-get-started-azure-cli.md). |
21 |
| -* **Docker CLI** - To set up your local computer as a Docker host and access the Docker CLI commands, install [Docker Engine](https://docs.docker.com/engine/installation/). |
22 |
| -* **Pull an image** - Pull an image from the public Docker Hub registry, tag it, and push it to your registry. For guidance on how push and pull images, see [Push Docker image to Azure private registry](container-registry-get-started-docker-cli.md). |
23 | 19 |
|
| 20 | +* **Container registry**: Create a container registry in your Azure subscription. For example, use the [Azure portal](container-registry-get-started-portal.md) or the [Azure CLI](container-registry-get-started-azure-cli.md). |
| 21 | +* **Docker CLI**: Install [Docker](https://docs.docker.com/engine/installation/) on your local machine, which provides you with the Docker command-line interface. |
| 22 | +* **Container image**: Push an image to your container registry. For guidance on how push and pull images, see [Push and pull and image](container-registry-get-started-docker-cli.md). |
24 | 23 |
|
25 |
| -## Viewing repositories in the Portal |
| 24 | +## View repositories in Azure portal |
26 | 25 |
|
27 |
| -Once you have pushed images to your container registry, you can see a list of the repositories hosting the images in the Azure portal. |
| 26 | +You can see a list of the repositories hosting your images in the Azure portal, as well as image tags. |
28 | 27 |
|
29 |
| -If you followed the steps in the [Push Docker image to Azure private registry](container-registry-get-started-docker-cli.md) article, you should now have a Nginx image in your container registry. As part of the instructions, you should have specified a namespace for the image. In the example below, the command pushes the NGinx image to the "samples" repository: |
| 28 | +If you followed the steps in [Push and pull and image](container-registry-get-started-docker-cli.md) (and didn't subsequently delete the image), you should have a Nginx image in your container registry. The instructions in that article specified that you tag the image with a namespace, the "samples" in `/samples/nginx`. As a refresher, the command specified to push the image was: |
30 | 29 |
|
31 |
| -``` |
| 30 | +```Bash |
32 | 31 | docker push myregistry.azurecr.io/samples/nginx
|
33 | 32 | ```
|
34 |
| - Azure Container Registry supports multilevel repository namespaces. This feature enables you to group collections of images related to a specific app, or a collection of apps to specific development or operational teams. To read more about repositories in container registries, see [Private Docker container registries in Azure](container-registry-intro.md). |
35 | 33 |
|
36 |
| -To view the container registry repositories: |
| 34 | + Because Azure Container Registry supports such multilevel repository namespaces, you can group collections of images related to a specific app, or a collection of apps, to different development or operational teams. To read more about repositories in container registries, see [Private Docker container registries in Azure](container-registry-intro.md). |
37 | 35 |
|
38 |
| -1. Log in to the Azure portal |
39 |
| -2. On the **Azure Container Registry** blade, select the registry you wish to inspect |
40 |
| -3. In the registry blade, click **Repositories** to see a list of all the repositories and their images |
41 |
| -4. (Optional) Select a specific image to see tags |
| 36 | +To view container a repository: |
42 | 37 |
|
43 |
| - |
| 38 | +1. Sign in to the [Azure portal][portal] |
| 39 | +1. Select the Azure Container Registry to which you pushed the Nginx image |
| 40 | +1. Select **Repositories** to see a list of the repositories that contain the images in the registry |
| 41 | +1. Select a repository to see the image tags within that repository |
| 42 | + |
| 43 | +For example, if you pushed the Nginx image as instructed in [Push and pull and image](container-registry-get-started-docker-cli.md), you should see something similar to the following: |
44 | 44 |
|
| 45 | + |
45 | 46 |
|
46 | 47 | ## Next steps
|
47 |
| -Now that you know the basics, you are ready to start using your registry! For example, start deploying container images to an [Azure Container Service](https://azure.microsoft.com/documentation/services/container-service/) cluster. |
| 48 | + |
| 49 | +Now that you know the basics, you're ready to start using your registry! For example, start deploying container images to an [Azure Container Service](https://azure.microsoft.com/documentation/services/container-service/) cluster. |
| 50 | + |
| 51 | +<!-- LINKS - External --> |
| 52 | +[portal]: https://portal.azure.com |
| 53 | + |
| 54 | +<!-- LINKS - Internal --> |
0 commit comments