From 31bdfddbc42c71460205735409ca5b89593a5ec0 Mon Sep 17 00:00:00 2001 From: Arinze Chianumba <39227511+achianumba@users.noreply.github.com> Date: Fri, 4 Nov 2022 15:38:07 +0100 Subject: [PATCH] fixes "Command 'docker-compose' not found" error. This commit fixes the error thrown due to a typo in the command `docker-compose -f docker-compose.dev.yml up --build`. The correct command is `docker compose -f docker-compose.dev.yml up --build` without the hyphen between 'docker' and 'compose' in the command sequence --- language/nodejs/develop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language/nodejs/develop.md b/language/nodejs/develop.md index 639d8740b5..4ee9e44dcd 100644 --- a/language/nodejs/develop.md +++ b/language/nodejs/develop.md @@ -177,7 +177,7 @@ $ npm install nodemon Let’s start our application and confirm that it is running properly. ```console -$ docker-compose -f docker-compose.dev.yml up --build +$ docker compose -f docker-compose.dev.yml up --build ``` We pass the `--build` flag so Docker compiles our image and then starts it.