Skip to content

Commit 5ce844f

Browse files
authored
Merge pull request #109509 from mitchelldirt/patch-1
Update container-registry-get-started-docker-cli.md
2 parents 62ab1e8 + 582e7a9 commit 5ce844f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,18 @@ Both commands return `Login Succeeded` once completed.
5858
5959
## Pull a public Nginx image
6060

61-
First, pull a public Nginx image to your local computer. This example pulls an image from Microsoft Container Registry.
61+
First, pull a public Nginx image to your local computer. This example pulls the [official Nginx image](https://hub.docker.com/_/nginx/).
6262

6363
```
64-
docker pull mcr.microsoft.com/oss/nginx/nginx:stable
64+
docker pull nginx
6565
```
6666

6767
## Run the container locally
6868

6969
Execute the following [docker run](https://docs.docker.com/engine/reference/run/) command to start a local instance of the Nginx container interactively (`-it`) on port 8080. The `--rm` argument specifies that the container should be removed when you stop it.
7070

7171
```
72-
docker run -it --rm -p 8080:80 mcr.microsoft.com/oss/nginx/nginx:stable
72+
docker run -it --rm -p 8080:80 nginx
7373
```
7474

7575
Browse to `http://localhost:8080` to view the default web page served by Nginx in the running container. You should see a page similar to the following:
@@ -85,7 +85,7 @@ To stop and remove the container, press `Control`+`C`.
8585
Use [docker tag](https://docs.docker.com/engine/reference/commandline/tag/) to create an alias of the image with the fully qualified path to your registry. This example specifies the `samples` namespace to avoid clutter in the root of the registry.
8686

8787
```
88-
docker tag mcr.microsoft.com/oss/nginx/nginx:stable myregistry.azurecr.io/samples/nginx
88+
docker tag nginx myregistery.azurecr.io/samples/nginx
8989
```
9090

9191
For more information about tagging with namespaces, see the [Repository namespaces](container-registry-best-practices.md#repository-namespaces) section of [Best practices for Azure Container Registry](container-registry-best-practices.md).

0 commit comments

Comments
 (0)