Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/compose/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func waitCommand(p *ProjectOptions, dockerCli command.Cli, backend api.Service)
var err error
cmd := &cobra.Command{
Use: "wait SERVICE [SERVICE...] [OPTIONS]",
Short: "Block until the first service container stops",
Short: "Block until containers of all (or specified) services stop.",
Args: cli.RequiresMinArgs(1),
RunE: Adapt(func(ctx context.Context, services []string) error {
opts.services = services
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Dry Run mode works with almost all commands. You cannot use Dry Run mode with a
| [`unpause`](compose_unpause.md) | Unpause services |
| [`up`](compose_up.md) | Create and start containers |
| [`version`](compose_version.md) | Show the Docker Compose version information |
| [`wait`](compose_wait.md) | Block until the first service container stops |
| [`wait`](compose_wait.md) | Block until containers of all (or specified) services stop. |
| [`watch`](compose_watch.md) | Watch build context for service and rebuild/refresh containers when files are updated |


Expand Down
2 changes: 1 addition & 1 deletion docs/reference/compose_wait.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# docker compose wait

<!---MARKER_GEN_START-->
Block until the first service container stops
Block until containers of all (or specified) services stop.

### Options

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/docker_compose_wait.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
command: docker compose wait
short: Block until the first service container stops
long: Block until the first service container stops
short: Block until containers of all (or specified) services stop.
long: Block until containers of all (or specified) services stop.
usage: docker compose wait SERVICE [SERVICE...] [OPTIONS]
pname: docker compose
plink: docker_compose.yaml
Expand Down