Skip to content

Commit 8962df4

Browse files
Merge pull request #236769 from msaenzbosupport/patch-27
[Doc-A-thon]Updated code block
2 parents 63f640b + d81189c commit 8962df4

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

articles/container-instances/container-instances-tutorial-prepare-app.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The sample application in this tutorial is a simple web app built in [Node.js][n
3535

3636
Use Git to clone the sample application's repository:
3737

38-
```bash
38+
```git
3939
git clone https://github.com/Azure-Samples/aci-helloworld.git
4040
```
4141

@@ -62,8 +62,10 @@ docker build ./aci-helloworld -t aci-tutorial-app
6262

6363
Output from the [docker build][docker-build] command is similar to the following (truncated for readability):
6464

65-
```console
66-
$ docker build ./aci-helloworld -t aci-tutorial-app
65+
```bash
66+
docker build ./aci-helloworld -t aci-tutorial-app
67+
```
68+
```output
6769
Sending build context to Docker daemon 119.3kB
6870
Step 1/6 : FROM node:8.9.3-alpine
6971
8.9.3-alpine: Pulling from library/node
@@ -90,8 +92,10 @@ docker images
9092

9193
Your newly built image should appear in the list:
9294

93-
```console
94-
$ docker images
95+
```bash
96+
docker images
97+
```
98+
```output
9599
REPOSITORY TAG IMAGE ID CREATED SIZE
96100
aci-tutorial-app latest 5c745774dfa9 39 seconds ago 68.1 MB
97101
```
@@ -106,8 +110,9 @@ docker run -d -p 8080:80 aci-tutorial-app
106110

107111
Output from the `docker run` command displays the running container's ID if the command was successful:
108112

109-
```console
110-
$ docker run -d -p 8080:80 aci-tutorial-app
113+
```bash
114+
docker run -d -p 8080:80 aci-tutorial-app
115+
```output
111116
a2e3e4435db58ab0c664ce521854c2e1a1bda88c9cf2fcff46aedf48df86cccf
112117
```
113118

0 commit comments

Comments
 (0)