Skip to content

Commit fcfbb09

Browse files
authored
Updated ACR creation section (#20938)
* Updated ACR creation section * Fixed lint errors
1 parent 4071da9 commit fcfbb09

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/architecture/containerized-lifecycle/design-develop-containerized-apps/build-aspnet-core-applications-linux-containers-aks-kubernetes.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ services:
143143
#...
144144
```
145145

146-
Now you can run your application with **F5** key, or by using the **Play** button, or the **Ctrl+F5** key, selecting the docker-compose project, as shown in image 4-42.
146+
Now you can run your application with the **F5** key, or by using the **Play** button, or the **Ctrl+F5** key, selecting the docker-compose project, as shown in image 4-42.
147147

148148
![Running docker-compose project with Visual Studio](media/build-aspnet-core-applications-linux-containers-aks-kubernetes/running-docker-compose-with-visual-studio.png)
149149

@@ -194,6 +194,9 @@ Run the following command from the **az cli**:
194194
az acr create --name exploredocker --resource-group explore-docker-aks-rg --sku basic --admin-enabled
195195
```
196196

197+
> [!NOTE]
198+
> The container registry name (e.g `exploredocker`) must be unique within Azure, and contain 5-50 alphanumeric characters. For more details, refer [Create a container registry](https://docs.microsoft.com/azure/container-registry/container-registry-get-started-azure-cli#create-a-container-registry)
199+
197200
### Create the image in Release mode
198201

199202
You'll now create the image in **Release** mode (ready for production) by changing to **Release**, as shown in Figure 4-46, and running the application as you did before.
@@ -252,7 +255,7 @@ Push the image into the Azure ACR, using the following command:
252255
docker push <login-server-name>/<image-name>:v1
253256
```
254257

255-
This command takes a while uploading the images but gives you feedback in the process. In the following image you can see the output from one image completed and another in progress.
258+
This command takes a while uploading the images but gives you feedback in the process. In the following image, you can see the output from one image completed and another in progress.
256259

257260
![Console output from the docker push command.](media/build-aspnet-core-applications-linux-containers-aks-kubernetes/uploading-docker-images-complete.png)
258261

0 commit comments

Comments
 (0)