dsdk / v1.47 / ContainerExecData
Type Alias: ContainerExecData ​
ContainerExecData:
object
Type declaration ​
Name | Type | Description |
---|---|---|
body | object | Exec configuration |
body.AttachStderr ? | boolean | Attach to stderr of the exec command. |
body.AttachStdin ? | boolean | Attach to stdin of the exec command. |
body.AttachStdout ? | boolean | Attach to stdout of the exec command. |
body.Cmd ? | string [] | Command to run, as a string or array of strings. |
body.ConsoleSize ? | [number , number ] | null | Initial console size, as an [height, width] array. |
body.DetachKeys ? | string | Override the key sequence for detaching a container. Format is a single character [a-Z] or ctrl-<value> where <value> is one of: a-z , @ , ^ , [ , , or _ . |
body.Env ? | string [] | A list of environment variables in the form ["VAR=value", ...] . |
body.Privileged ? | boolean | Runs the exec process with extended privileges. |
body.Tty ? | boolean | Allocate a pseudo-TTY. |
body.User ? | string | The user, and optionally, group to run the exec process inside the container. Format is one of: user , user:group , uid , or uid:gid . |
body.WorkingDir ? | string | The working directory for the exec process inside the container. |
path | object | - |
path.id | string | ID or name of container |