ExecConfig

@Serializable
data class ExecConfig(val attachStdin: Boolean? = null, val attachStdout: Boolean? = null, val attachStderr: Boolean? = null, val consoleSize: List<Int>? = null, val detachKeys: String? = null, val tty: Boolean? = null, val env: List<String>? = null, val cmd: List<String>? = null, val privileged: Boolean? = false, val user: String? = null, val workingDir: String? = null)

Parameters

attachStdin

Attach to stdin of the exec command.

attachStdout

Attach to stdout of the exec command.

attachStderr

Attach to stderr of the exec command.

consoleSize

Initial console size, as an [height, width] array.

detachKeys

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.

workingDir

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)

Properties

Link copied to clipboard
@SerialName(value = "AttachStderr")
val attachStderr: Boolean?
Link copied to clipboard
@SerialName(value = "AttachStdin")
val attachStdin: Boolean?
Link copied to clipboard
@SerialName(value = "AttachStdout")
val attachStdout: Boolean?
Link copied to clipboard
@SerialName(value = "Cmd")
val cmd: List<String>?
Link copied to clipboard
@SerialName(value = "ConsoleSize")
val consoleSize: List<Int>?
Link copied to clipboard
@SerialName(value = "DetachKeys")
val detachKeys: String?
Link copied to clipboard
@SerialName(value = "Env")
val env: List<String>?
Link copied to clipboard
@SerialName(value = "Privileged")
val privileged: Boolean?
Link copied to clipboard
@SerialName(value = "Tty")
val tty: Boolean?
Link copied to clipboard
@SerialName(value = "User")
val user: String?
Link copied to clipboard
@SerialName(value = "WorkingDir")
val workingDir: String?