Skip to content

Commit

Permalink
Merge pull request #752 from KoalaBear84/patch-2
Browse files Browse the repository at this point in the history
Update AZ-204_lab_05.md
  • Loading branch information
v-asamim authored Feb 14, 2024
2 parents 8220a99 + 43ade7b commit d48539d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Instructions/Labs/AZ-204_lab_05.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,19 +250,19 @@ In this lab, you will explore how to create and deploy containers to the Azure C
1. At the **Cloud Shell** command prompt in the portal, run the following command to get a list of all container registries in your subscription:

```
az acr list
az acr list --resource-group ContainerCompute
```

1. Run the following command, ensuring you see the name of your registry as output. If you see no output other than '[]', wait a minute and try running the command again.

```
az acr list --query "max_by([], &creationDate).name" --output tsv
az acr list --resource-group ContainerCompute --query "max_by([], &creationDate).name" --output tsv
```

1. Run the following command:

```
acrName=$(az acr list --query "max_by([], &creationDate).name" --output tsv)
acrName=$(az acr list --resource-group ContainerCompute --query "max_by([], &creationDate).name" --output tsv)
```

1. Run the following command:
Expand Down

0 comments on commit d48539d

Please sign in to comment.