Skip to content

Commit 3f0e950

Browse files
committed
docs: update docs for docker compose
Docker v1.28 and above have Docker Compose in the Docker CLI itself.
1 parent b80cd52 commit 3f0e950

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ Windows) this repository using
6262
docker-compose up -d
6363
```
6464

65+
or (for _Docker v1.28_ and above)
66+
67+
```bash
68+
docker compose up -d
69+
```
70+
6571
If you haven't pulled the image from the _GitHub Container Registry_ (_GHCR_), it'll first build
6672
the image using the `Dockerfile`, then launch the _docker network_. If an image already exists
6773
locally, it'll not be rebuilt. To force a rebuild from the `Dockerfile` before launching the
@@ -93,12 +99,19 @@ spawned and standard input/output is connected to the terminal.
9399
v9.1.1
94100
```
95101
96-
7. To shut down the _docker network_, run (in the terminal where you ran `docker-compose up -d`)
102+
7. To shut down the _docker network_, run (in the terminal where you ran `docker-compose up -d` or
103+
`docker compose up -d`)
97104
98105
```bash
99106
docker-compose down
100107
```
101108
109+
or (for _Docker v1.28_ and above)
110+
111+
```bash
112+
docker compose down
113+
```
114+
102115
8. To install all the dependencies (in `package.json`), run
103116
104117
```bash

0 commit comments

Comments
 (0)