Skip to content

Commit 2aaa05f

Browse files
committed
Update README to use
Usage: docker compose [OPTIONS] COMMAND Define and run multi-container applications with Docker Options: --all-resources Include all resources, even those not used by services --ansi string Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto") --compatibility Run compose in backward compatibility mode --dry-run Execute command in dry run mode --env-file stringArray Specify an alternate environment file -f, --file stringArray Compose configuration files --parallel int Control max parallelism, -1 for unlimited (default -1) --profile stringArray Specify a profile to enable --progress string Set type of progress output (auto, tty, plain, json, quiet) (default "auto") --project-directory string Specify an alternate working directory (default: the path of the, first specified, Compose file) -p, --project-name string Project name Commands: attach Attach local standard input, output, and error streams to a service's running container build Build or rebuild services commit Create a new image from a service container's changes config Parse, resolve and render compose file in canonical format cp Copy files/folders between a service container and the local filesystem create Creates containers for a service down Stop and remove containers, networks events Receive real time events from containers exec Execute a command in a running container export Export a service container's filesystem as a tar archive images List images used by the created containers kill Force stop service containers logs View output from containers ls List running compose projects pause Pause services port Print the public port for a port binding ps List containers pull Pull service images push Push service images restart Restart service containers rm Removes stopped service containers run Run a one-off command on a service scale Scale services start Start services stats Display a live stream of container(s) resource usage statistics stop Stop services top Display the running processes unpause Unpause services up Create and start containers version Show the Docker Compose version information wait Block until containers of all (or specified) services stop. watch Watch build context for service and rebuild/refresh containers when files are updated Run 'docker compose COMMAND --help' for more information on a command. Signed-off-by: Dev Agarwal <[email protected]>
1 parent 6f1af48 commit 2aaa05f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ include::{common-includes}/gitclone.adoc[]
6767
Run the following command to start the Pact Broker:
6868
[role='command']
6969
```
70-
docker-compose -f "pact-broker/docker-compose.yml" up -d --build
70+
docker compose -f "pact-broker/docker-compose.yml" up -d --build
7171
```
7272

7373
When the Pact Broker is running, you'll see the following output:
@@ -507,7 +507,7 @@ endif::[]
507507

508508
[role='command']
509509
```
510-
docker-compose -f "pact-broker/docker-compose.yml" down
510+
docker compose -f "pact-broker/docker-compose.yml" down
511511
docker rmi postgres:17.2
512512
docker rmi pactfoundation/pact-broker:latest
513513
docker volume rm pact-broker_postgres-volume

0 commit comments

Comments
 (0)