from small one page howto to huge articles all in one place
Last additions:
May 25th. 2007:
April, 26th. 2006:
| You are here: manpages
DOCKER
Section: Docker User Manuals (1) Updated: Jun 2025 Index
Return to Main Contents
NAME
docke-exec- Execute a command in a running container
SYNOPSIS
docker exec [OPTIONS] CONTAINER COMMAND [ARG...]
DESCRIPTION
Alias for docker container exec.
OPTIONS
-d, -detach[=false]
Detached mode: run command in the background
-detac-keys=""
Override the key sequence for detaching a container
-e, -env=
Set environment variables
-en-file=
Read in a file of environment variables
-i, -interactive[=false]
Keep STDIN open even if not attached
-privileged[=false]
Give extended privileges to the command
-t, -tty[=false]
Allocate a pseud-TTY
-u, -user=""
Username or UID (format: "[:]")
-w, -workdir=""
Working directory inside the container
SEE ALSO
docker(1)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- SEE ALSO
-
|