Skip to content

Commit 168b5df

Browse files
committed
updates
1 parent de7e804 commit 168b5df

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/app-service/tutorial-custom-container.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,11 @@ cd docker-django-webapp-linux
270270

271271
### Download from GitHub
272272

273-
Instead of using git clone, you can visit [https://github.com/Azure-Samples/docker-django-webapp-linux](https://github.com/Azure-Samples/docker-django-webapp-linux), select **Clone**, and then select **Download ZIP**.
273+
Instead of using git clone, you can visit [https://github.com/Azure-Samples/docker-django-webapp-linux](https://github.com/Azure-Samples/docker-django-webapp-linux) and select **Code** > **Local** > **Download ZIP**.
274274

275275
Unpack the ZIP file into a folder named *docker-django-webapp-linux*.
276276

277-
Then open a terminal window in the*docker-django-webapp-linux* folder.
277+
Then open a terminal window in the *docker-django-webapp-linux* folder.
278278

279279
## (Optional) Examine the Docker file
280280

@@ -329,10 +329,10 @@ ENTRYPOINT ["init.sh"]
329329
docker run -it -p 8000:8000 appsvc-tutorial-custom-image
330330
```
331331

332-
This [`docker run`](https://docs.docker.com/engine/reference/commandline/run/) command specifies the port with the `-p` argument followed by the name of the image. `-it` lets you stop it with **Ctrl+C**.
332+
This [`docker run`](https://docs.docker.com/engine/reference/commandline/run/) command specifies the port with the `-p` argument and includes the name of the image. `-it` lets you stop it with **Ctrl+C**.
333333

334334
> [!TIP]
335-
> If you're running on Windows and see the error *standard_init_linux.go:211: exec user process caused "no such file or directory"*, the *init.sh* file contains CRLF line endings instead of the expected LF endings. This error happens if you used Git to clone the sample repository but omitted the `--config core.autocrlf=input` parameter. In this case, clone the repository again with the `--config`` argument. You might also see the error if you edited *init.sh* and saved it with CRLF endings. In this case, save the file again with LF endings only.
335+
> If you're running on Windows and see the error *standard_init_linux.go:211: exec user process caused "no such file or directory"*, the *init.sh* file contains CRLF line endings instead of the expected LF endings. This error happens if you used Git to clone the sample repository but omitted the `--config core.autocrlf=input` parameter. In this case, clone the repository again with the `--config` argument. You might also see the error if you edited *init.sh* and saved it with CRLF endings. In this case, save the file again with LF endings only.
336336
337337
1. Browse to `http://localhost:8000` to verify that the web app and container are functioning correctly.
338338
@@ -417,7 +417,7 @@ App Service can use either a default managed identity or a user-assigned managed
417417

418418
The `--admin-enabled` parameter lets you push images to the registry using administrative credentials.
419419

420-
1. Retrieve the administrative credentials by running the [`az acr show`](/cli/azure/acr#az-acr-show) command:
420+
1. Retrieve the administrative credentials by running the [`az credential acr show`](/cli/azure/acr/credential#az-acr-credential-show) command:
421421

422422
```azurecli-interactive
423423
az acr credential show --resource-group msdocs-custom-container-tutorial --name <registry-name>

0 commit comments

Comments
 (0)