forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker_exec.yaml
More file actions
32 lines (32 loc) · 912 Bytes
/
Copy pathdocker_exec.yaml
File metadata and controls
32 lines (32 loc) · 912 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
32
command: docker exec
short: Run a command in a running container
long: |
Alias for `docker container exec`.
usage: docker exec [OPTIONS] CONTAINER COMMAND [ARG...]
pname: docker
plink: docker.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>])'