diff --git a/language/nodejs/build-images.md b/language/nodejs/build-images.md index 1704ad9ee3..2eafe18cae 100644 --- a/language/nodejs/build-images.md +++ b/language/nodejs/build-images.md @@ -182,10 +182,12 @@ Step 2/7 : WORKDIR /code ... Successfully built e03018e56163 Successfully tagged node-docker:latest -Viewing Local Images -To see a list of images we have on our local machine, we have two options. One is to use the CLI and the other is to use Docker Desktop. Since we are currently working in the terminal let’s take a look at listing images with the CLI. ``` +## Viewing local images + +To see a list of images we have on our local machine, we have two options. One is to use the CLI and the other is to use Docker Desktop. Since we are currently working in the terminal let’s take a look at listing images with the CLI. + To list images, simply run the `images` command. ```shell diff --git a/language/nodejs/run-containers.md b/language/nodejs/run-containers.md index a04101e600..97676a0d8c 100644 --- a/language/nodejs/run-containers.md +++ b/language/nodejs/run-containers.md @@ -56,9 +56,7 @@ Now let’s rerun the curl command from above. $ curl --request POST \ --url http://localhost:8000/test \ --header 'content-type: application/json' \ - --data '{ - "msg": "testing" -}' + --data '{"msg": "testing"}' {"code":"success","payload":[{"msg":"testing","id":"dc0e2c2b-793d-433c-8645-b3a553ea26de","createDate":"2020-09-01T17:36:09.897Z"}]} ```