Skip to content

Commit

Permalink
Update docs/reference/compose_exec.md
Browse files Browse the repository at this point in the history
Co-authored-by: Laura Brehm <[email protected]>
Signed-off-by: Benjamin Balder Bach <[email protected]>
  • Loading branch information
benjaoming and laurazard authored Apr 28, 2023
1 parent bca8a17 commit 3d4cb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/compose_exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ This is the equivalent of `docker exec` targeting a Compose service.
With this subcommand, you can run arbitrary commands in your services. Commands allocate a TTY by default, so
you can use a command such as `docker compose exec web sh` to get an interactive prompt.

Environment from existing configuration is applied.
Environment from existing configuration is preserved.
You can for instance introspect your environment by running `docker-compose exec web "/usr/bin/env"`.

0 comments on commit 3d4cb0b

Please sign in to comment.