Skip to content

Commit 0306a85

Browse files
committed
refactor(typo): Use correct docker compose notation
1 parent b9a79ad commit 0306a85

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

labs/09-multi-container.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ This file defines all of the containers and settings you need to launch your set
155155
## Terminology
156156

157157
- `docker-compose.yml` The YAML file where all your configuration of your docker containers go.
158-
- `docker-compose` The cli tool that enables you to define and run multi-container applications with Docker
158+
- `docker compose` The cli tool that enables you to define and run multi-container applications with Docker
159159

160160
- `up` : creates and starts the services stated in the compose file
161161
- `down` : stops and removes containers, networks, images, and volumes
@@ -237,7 +237,7 @@ MYSQL_ROOT_PASSWORD=wordpress
237237
Try to spin up the container in detached mode:
238238

239239
```bash
240-
docker-compose up -d
240+
docker compose up -d
241241
Creating network "multicontainer_default" with the default driver
242242
Creating multicontainer_mysql_container_1 ...
243243
Creating multicontainer_mysql_container_1 ... done
@@ -247,9 +247,9 @@ Looking at the output you can see that it made a `docker network` named `multico
247247

248248
Issue a `docker container ls` as well as `docker network ls` to see that both the container and network are listed.
249249

250-
To shut down the container and network, issue a `docker-compose down`
250+
To shut down the container and network, issue a `docker compose down`
251251

252-
> **note**: The command docker-compose down removes the containers and default network.
252+
> **note**: The command docker compose down removes the containers and default network.
253253

254254
### Creating the wordpress container
255255

@@ -265,6 +265,6 @@ You must
265265
- map the pieces of information from the docker container run command to the yaml format.
266266
- remove MySQL port mapping to close that from outside reach.
267267

268-
When you made that, run `docker-compose up -d` and access your wordpress site from [http://IP:8080](http://IP:8080)
268+
When you made that, run `docker compose up -d` and access your wordpress site from [http://IP:8080](http://IP:8080)
269269

270270
> **Hint**: If you are stuck, look at the file docker-compose_final.yaml in the same folder.

0 commit comments

Comments
 (0)