Suggestion to add information about environment

Signed-off-by: Benjamin Balder Bach <benjamin@overtag.dk>
This commit is contained in:
Benjamin Balder Bach 2022-12-18 12:49:56 +01:00 committed by GitHub
parent e42673daed
commit bca8a17b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -24,3 +24,6 @@ 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.
You can for instance introspect your environment by running `docker-compose exec web "/usr/bin/env"`.