From c9c1c5d475caa4a9aeccfc793e30b84db16ed162 Mon Sep 17 00:00:00 2001 From: Benjamin Balder Bach Date: Fri, 28 Apr 2023 12:24:57 +0200 Subject: [PATCH] Update docs/reference/compose_exec.md Co-authored-by: Laura Brehm Signed-off-by: Benjamin Balder Bach --- docs/reference/compose_exec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/compose_exec.md b/docs/reference/compose_exec.md index 9c37b1a5f98..49b461b70d8 100644 --- a/docs/reference/compose_exec.md +++ b/docs/reference/compose_exec.md @@ -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"`.