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 <laurabrehm@hey.com>
Signed-off-by: Benjamin Balder Bach <benjaoming@gmail.com>
  • Loading branch information
2 people authored and ndeloof committed Nov 12, 2024
1 parent c85da32 commit c9c1c5d
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 @@ -29,5 +29,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 c9c1c5d

Please sign in to comment.