docker-compose command is not functioning on latest docker version this was changed on Compose V2 to docker compose

Francois Durieu Digitel 2022-10-03 20:50:50 +02:00
parent 0dfecdf178
commit 82a5d3998b
1 changed files with 3 additions and 3 deletions

@ -69,12 +69,12 @@ In the same directory, create the `Caddyfile` below. (This file does not need to
Run
```bash
docker-compose up -d
docker compose up -d
```
to create and start the containers. A private network for the services in this `docker-compose.yml` file will be created automatically, with only Caddy being publicly exposed.
```bash
docker-compose down
docker compose down
```
stops and destroys the containers.
@ -151,6 +151,6 @@ In the same directory, create the `Caddyfile` below. (This file does not need to
As with the HTTP challenge example, run
```bash
docker-compose up -d
docker compose up -d
```
to create and start the containers.