forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker_container_exec.yaml
More file actions
32 lines (31 loc) · 951 Bytes
/
Copy pathdocker_container_exec.yaml
File metadata and controls
32 lines (31 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
command: docker container exec
short: Run a command in a running container
long: Run a command in a running container
usage: docker container exec [OPTIONS] CONTAINER COMMAND [ARG...]
pname: docker container
plink: docker_container.yaml
options:
- option: detach
shorthand: d
default_value: "false"
description: 'Detached mode: run command in the background'
- option: detach-keys
description: Override the key sequence for detaching a container
- option: env
shorthand: e
default_value: '[]'
description: Set environment variables
- option: interactive
shorthand: i
default_value: "false"
description: Keep STDIN open even if not attached
- option: privileged
default_value: "false"
description: Give extended privileges to the command
- option: tty
shorthand: t
default_value: "false"
description: Allocate a pseudo-TTY
- option: user
shorthand: u
description: 'Username or UID (format: <name|uid>[:<group|gid>])'