We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 799ab84 commit c85da32Copy full SHA for c85da32
docs/reference/compose_exec.md
@@ -28,3 +28,6 @@ This is the equivalent of `docker exec` targeting a Compose service.
28
29
With this subcommand, you can run arbitrary commands in your services. Commands allocate a TTY by default, so
30
you can use a command such as `docker compose exec web sh` to get an interactive prompt.
31
+
32
+Environment from existing configuration is applied.
33
+You can for instance introspect your environment by running `docker-compose exec web "/usr/bin/env"`.
0 commit comments