Merge pull request #16083 from achianumba/patch-2

fixes "Command 'docker-compose' not found" error.
This commit is contained in:
Craig Osterhout 2022-11-04 08:55:58 -07:00 committed by GitHub
commit 193e7769b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ describe('Array', function() {
Lets build our Docker image and confirm everything is running properly. Run the following command to build and run your Docker image in a container.
```console
$ docker-compose -f docker-compose.dev.yml up --build
$ docker compose -f docker-compose.dev.yml up --build
```
Now lets test our application by POSTing a JSON payload and then make an HTTP GET request to make sure our JSON was saved correctly.
@ -86,7 +86,7 @@ Okay, now that we know our application is running properly, lets try and run
Below is the Docker command to start the container and run tests:
```console
$ docker-compose -f docker-compose.dev.yml run notes npm run test
$ docker compose -f docker-compose.dev.yml run notes npm run test
Creating node-docker_notes_run ...
> node-docker@1.0.0 test /code