Skip to content

Commit c3e74de

Browse files
authored
Merge pull request #99388 from dlepow/acifresh5
[ACI freshness] Tutorial prepare reg
2 parents 9165d59 + 9edd09b commit c3e74de

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

articles/container-instances/container-instances-tutorial-prepare-acr.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
title: Tutorial - Prepare container registry to deploy image
33
description: Azure Container Instances tutorial part 2 of 3 - Prepare an Azure container registry and push an image
44
ms.topic: tutorial
5-
ms.date: 03/21/2018
5+
ms.date: 12/18/2019
66
ms.custom: "seodec18, mvc"
77
---
88

9-
# Tutorial: Deploy an Azure container registry and push a container image
9+
# Tutorial: Create an Azure container registry and push a container image
1010

1111
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).
1212

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:
1414

1515
> [!div class="checklist"]
16-
> * Create an Azure Container Registry instance
16+
> * Create an Azure Container Registry instance with the Azure CLI
1717
> * Tag a container image for your Azure container registry
1818
> * Upload the image to your registry
1919
@@ -36,16 +36,15 @@ az group create --name myResourceGroup --location eastus
3636
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:
3737

3838
```azurecli
39-
az acr create --resource-group myResourceGroup --name <acrName> --sku Basic --admin-enabled true
39+
az acr create --resource-group myResourceGroup --name <acrName> --sku Basic
4040
```
4141

4242
Here's example output for a new Azure container registry named *mycontainerregistry082* (shown here truncated):
4343

4444
```console
45-
$ az acr create --resource-group myResourceGroup --name mycontainerregistry082 --sku Basic --admin-enabled true
45+
$ az acr create --resource-group myResourceGroup --name mycontainerregistry082 --sku Basic
4646
...
4747
{
48-
"adminUserEnabled": true,
4948
"creationDate": "2018-03-16T21:54:47.297875+00:00",
5049
"id": "/subscriptions/<Subscription ID>/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/mycontainerregistry082",
5150
"location": "eastus",
@@ -114,7 +113,7 @@ REPOSITORY TAG IMAGE ID CREATED SIZE
114113
aci-tutorial-app latest 5c745774dfa9 39 minutes ago 68.1 MB
115114
```
116115

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.
118117

119118
```bash
120119
docker tag aci-tutorial-app <acrLoginServer>/aci-tutorial-app:v1
@@ -131,7 +130,7 @@ mycontainerregistry082.azurecr.io/aci-tutorial-app v1 5c745774dfa9
131130

132131
## Push image to Azure Container Registry
133132

134-
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.
135134

136135
```bash
137136
docker push <acrLoginServer>/aci-tutorial-app:v1
@@ -188,7 +187,7 @@ v1
188187
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:
189188

190189
> [!div class="checklist"]
191-
> * Deployed an Azure Container Registry instance
190+
> * Created an Azure Container Registry instance with the Azure CLI
192191
> * Tagged a container image for Azure Container Registry
193192
> * Uploaded an image to Azure Container Registry
194193

includes/container-instances-tutorial-prerequisites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You must satisfy the following requirements to complete this tutorial:
1717

1818
**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].
1919

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].
2121

2222
> [!IMPORTANT]
2323
> 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

Comments
 (0)