You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-instances/container-instances-tutorial-prepare-acr.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,18 @@
2
2
title: Tutorial - Prepare container registry to deploy image
3
3
description: Azure Container Instances tutorial part 2 of 3 - Prepare an Azure container registry and push an image
4
4
ms.topic: tutorial
5
-
ms.date: 03/21/2018
5
+
ms.date: 12/18/2019
6
6
ms.custom: "seodec18, mvc"
7
7
---
8
8
9
-
# Tutorial: Deploy an Azure container registry and push a container image
9
+
# Tutorial: Create an Azure container registry and push a container image
10
10
11
11
This is part two of a three-part tutorial. [Part one](container-instances-tutorial-prepare-app.md) of the tutorial created a Docker container image for a Node.js web application. In this tutorial, you push the image to Azure Container Registry. If you haven't yet created the container image, return to [Tutorial 1 – Create container image](container-instances-tutorial-prepare-app.md).
12
12
13
-
Azure Container Registry is your private Docker registry in Azure. In this tutorial, you create an Azure Container Registry instance in your subscription, then push the previously created container image to it. In this article, part two of the series, you:
13
+
Azure Container Registry is your private Docker registry in Azure. In this tutorial, part two of the series, you:
14
14
15
15
> [!div class="checklist"]
16
-
> * Create an Azure Container Registry instance
16
+
> * Create an Azure Container Registry instance with the Azure CLI
17
17
> * Tag a container image for your Azure container registry
18
18
> * Upload the image to your registry
19
19
@@ -36,16 +36,15 @@ az group create --name myResourceGroup --location eastus
36
36
Once you've created the resource group, create an Azure container registry with the [az acr create][az-acr-create] command. The container registry name must be unique within Azure, and contain 5-50 alphanumeric characters. Replace `<acrName>` with a unique name for your registry:
@@ -114,7 +113,7 @@ REPOSITORY TAG IMAGE ID CREATED SIZE
114
113
aci-tutorial-app latest 5c745774dfa9 39 minutes ago 68.1 MB
115
114
```
116
115
117
-
Tag the *aci-tutorial-app* image with the loginServer of your container registry. Also, add the `:v1` tag to the end of the image name to indicate the image version number. Replace `<acrLoginServer>` with the result of the [az acr show][az-acr-show] command you executed earlier.
116
+
Tag the *aci-tutorial-app* image with the login server of your container registry. Also, add the `:v1` tag to the end of the image name to indicate the image version number. Replace `<acrLoginServer>` with the result of the [az acr show][az-acr-show] command you executed earlier.
118
117
119
118
```bash
120
119
docker tag aci-tutorial-app <acrLoginServer>/aci-tutorial-app:v1
Now that you've tagged the *aci-tutorial-app* image with the full login server name of your private registry, you can push it to the registry with the [docker push][docker-push] command. Replace `<acrLoginServer>` with the full login server name you obtained in the earlier step.
133
+
Now that you've tagged the *aci-tutorial-app* image with the full login server name of your private registry, you can push the image to the registry with the [docker push][docker-push] command. Replace `<acrLoginServer>` with the full login server name you obtained in the earlier step.
135
134
136
135
```bash
137
136
docker push <acrLoginServer>/aci-tutorial-app:v1
@@ -188,7 +187,7 @@ v1
188
187
In this tutorial, you prepared an Azure container registry for use with Azure Container Instances, and pushed a container image to the registry. The following steps were completed:
189
188
190
189
> [!div class="checklist"]
191
-
> *Deployed an Azure Container Registry instance
190
+
> *Created an Azure Container Registry instance with the Azure CLI
192
191
> * Tagged a container image for Azure Container Registry
Copy file name to clipboardExpand all lines: includes/container-instances-tutorial-prerequisites.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ You must satisfy the following requirements to complete this tutorial:
17
17
18
18
**Docker**: This tutorial assumes a basic understanding of core Docker concepts like containers, container images, and basic `docker` commands. For a primer on Docker and container basics, see the [Docker overview][docker-get-started].
19
19
20
-
**Docker Engine**: To complete this tutorial, you need Docker Engine installed locally. Docker provides packages that configure the Docker environment on [macOS][docker-mac], [Windows][docker-windows], and [Linux][docker-linux].
20
+
**Docker**: To complete this tutorial, you need Docker installed locally. Docker provides packages that configure the Docker environment on [macOS][docker-mac], [Windows][docker-windows], and [Linux][docker-linux].
21
21
22
22
> [!IMPORTANT]
23
23
> Because the Azure Cloud shell does not include the Docker daemon, you *must* install both the Azure CLI and Docker Engine on your *local computer* to complete this tutorial. You cannot use the Azure Cloud Shell for this tutorial.
0 commit comments