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