Skip to content

Commit 9b2f937

Browse files
authored
Merge pull request #204753 from kobulloc-MSFT/patch-21
Added double quotes for PowerShell Core
2 parents 66a0171 + a8133c8 commit 9b2f937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/container-registry/container-registry-quickstart-task-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This example creates a *Basic* registry, a cost-optimized option for developers
4444
Now use Azure Container Registry to build and push an image. First, create a local working directory and then create a Dockerfile named *Dockerfile* with the single line: `FROM mcr.microsoft.com/hello-world`. This is a simple example to build a Linux container image from the `hello-world` image hosted at Microsoft Container Registry. You can create your own standard Dockerfile and build images for other platforms. If you are working at a bash shell, create the Dockerfile with the following command:
4545

4646
```bash
47-
echo FROM mcr.microsoft.com/hello-world > Dockerfile
47+
echo "FROM mcr.microsoft.com/hello-world" > Dockerfile
4848
```
4949

5050
Run the [az acr build][az-acr-build] command, which builds the image and, after the image is successfully built, pushes it to your registry. The following example builds and pushes the `sample/hello-world:v1` image. The `.` at the end of the command sets the location of the Dockerfile, in this case the current directory.

0 commit comments

Comments
 (0)