Update docs/reference/compose_exec.md

Co-authored-by: Laura Brehm <laurabrehm@hey.com>
Signed-off-by: Benjamin Balder Bach <benjaoming@gmail.com>
This commit is contained in:
Benjamin Balder Bach 2023-04-28 12:24:57 +02:00 committed by GitHub
parent bca8a17b5a
commit 3d4cb0bee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"`.