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

@@ -69,12 +69,12 @@ In the same directory, create the `Caddyfile` below. (This file does not need to
Run Run
```bash ```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. 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 ```bash
docker-compose down docker compose down
``` ```
stops and destroys the containers. 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 As with the HTTP challenge example, run
```bash ```bash
docker-compose up -d docker compose up -d
``` ```
to create and start the containers. to create and start the containers.