Exec Config
@Serializable
Parameters
attach Stdin
Attach to stdin of the exec command.
attach Stdout
Attach to stdout of the exec command.
attach Stderr
Attach to stderr of the exec command.
console Size
Initial console size, as an [height, width] array.
detach Keys
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 _.
tty
Allocate a pseudo-TTY.
env
A list of environment variables in the form [\"VAR=value\", ...].
cmd
Command to run, as a string or array of strings.
privileged
Runs the exec process with extended privileges.
user
The user, and optionally, group to run the exec process inside the container. Format is one of: user, user:group, uid, or uid:gid.
working Dir
The working directory for the exec process inside the container.
Constructors
Link copied to clipboard
constructor(attachStdin: Boolean? = null, attachStdout: Boolean? = null, attachStderr: Boolean? = null, consoleSize: List<Int>? = null, detachKeys: String? = null, tty: Boolean? = null, env: List<String>? = null, cmd: List<String>? = null, privileged: Boolean? = false, user: String? = null, workingDir: String? = null)