Skip to content

Commit f44f62b

Browse files
authored
Merge pull request #213171 from pamelafox/my-container-registry
Update suggested name for container registry to be valid.
2 parents b706f22 + b96a681 commit f44f62b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

articles/container-registry/container-registry-get-started-azure-cli.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ az group create --name myResourceGroup --location eastus
3131

3232
In this quickstart you create a *Basic* registry, which is a cost-optimized option for developers learning about Azure Container Registry. For details on available service tiers, see [Container registry service tiers][container-registry-skus].
3333

34-
Create an ACR instance using the [az acr create][az-acr-create] command. The registry name must be unique within Azure, and contain 5-50 alphanumeric characters. In the following example, *myContainerRegistry007* is used. Update this to a unique value.
34+
Create an ACR instance using the [az acr create][az-acr-create] command. The registry name must be unique within Azure, and contain 5-50 lowercase alphanumeric characters. In the following example, *mycontainerregistry* is used. Update this to a unique value.
3535

3636
```azurecli
3737
az acr create --resource-group myResourceGroup \
38-
--name myContainerRegistry007 --sku Basic
38+
--name mycontainerregistry --sku Basic
3939
```
4040

4141
When the registry is created, the output is similar to the following:
@@ -44,10 +44,10 @@ When the registry is created, the output is similar to the following:
4444
{
4545
"adminUserEnabled": false,
4646
"creationDate": "2019-01-08T22:32:13.175925+00:00",
47-
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myContainerRegistry007",
47+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/mycontainerregistry",
4848
"location": "eastus",
49-
"loginServer": "mycontainerregistry007.azurecr.io",
50-
"name": "myContainerRegistry007",
49+
"loginServer": "mycontainerregistry.azurecr.io",
50+
"name": "mycontainerregistry",
5151
"provisioningState": "Succeeded",
5252
"resourceGroup": "myResourceGroup",
5353
"sku": {

articles/container-registry/container-registry-get-started-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ New-AzResourceGroup -Name myResourceGroup -Location EastUS
4242

4343
Next, create a container registry in your new resource group with the [New-AzContainerRegistry][New-AzContainerRegistry] command.
4444

45-
The registry name must be unique within Azure, and contain 5-50 alphanumeric characters. The following example creates a registry named "myContainerRegistry007." Replace *myContainerRegistry007* in the following command, then run it to create the registry:
45+
The registry name must be unique within Azure, and contain 5-50 alphanumeric characters. The following example creates a registry named "mycontainerregistry." Replace *mycontainerregistry* in the following command, then run it to create the registry:
4646

4747
```powershell
48-
$registry = New-AzContainerRegistry -ResourceGroupName "myResourceGroup" -Name "myContainerRegistry007" -EnableAdminUser -Sku Basic
48+
$registry = New-AzContainerRegistry -ResourceGroupName "myResourceGroup" -Name "mycontainerregistry" -EnableAdminUser -Sku Basic
4949
```
5050

5151
[!INCLUDE [container-registry-quickstart-sku](../../includes/container-registry-quickstart-sku.md)]

0 commit comments

Comments
 (0)