From e9ad2f76eb9d33e6163e85cf221b3edc344576e5 Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Wed, 24 May 2017 01:33:47 +0200 Subject: [PATCH] Add docker-compose exec -u to reference page (#3349) Signed-off-by: Harald Albers --- compose/reference/exec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/reference/exec.md b/compose/reference/exec.md index e8087b1e33..f44719c054 100644 --- a/compose/reference/exec.md +++ b/compose/reference/exec.md @@ -11,7 +11,7 @@ Usage: exec [options] SERVICE COMMAND [ARGS...] Options: -d Detached mode: Run command in the background. --privileged Give extended privileges to the process. ---user USER Run the command as this user. +-u, --user USER Run the command as this user. -T Disable pseudo-tty allocation. By default `docker-compose exec` allocates a TTY. --index=index index of the container if there are multiple