Skip to content

Commit 009ef6a

Browse files
ndeloofaevesdocker
andauthored
Apply suggestions from code review
Co-authored-by: Allie Sadler <[email protected]> Signed-off-by: Nicolas De loof <[email protected]>
1 parent f956ae8 commit 009ef6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/compose_exec.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ This is the equivalent of `docker exec` targeting a Compose service.
66
With this subcommand, you can run arbitrary commands in your services. Commands allocate a TTY by default, so
77
you can use a command such as `docker compose exec web sh` to get an interactive prompt.
88

9-
By default, Compose will enter container in interactive mode and allocate a TTY, while the equivalent `docker exec`
10-
command requires passing `--interactive --tty` flags to get the same behavior. Compose also support those two flags
11-
to offer a smooth migration between commands, whenever they are no-op by default. Still, `interactive` can be used to
12-
force disabling interactive mode (`--interactive=false`), typically when `docker compose exec` command is used inside
9+
By default, Compose will enter a container in interactive mode and allocate a TTY, while the equivalent `docker exec`
10+
command requires passing `--interactive --tty` flags to get the same behavior. Compose also supports these two flags
11+
to allow a smooth migration between commands, even when they are no-op by default. `interactive` can still be used to
12+
disable interactive mode (`--interactive=false`), typically when `docker compose exec` command is used inside
1313
a script.
1414

1515
### Options

0 commit comments

Comments
 (0)