DockerClientConfig

data class DockerClientConfig(val json: Json = Json { ignoreUnknownKeys = true explicitNulls = false coerceInputValues = true }, val connectionConfig: DockerClientConfig.ConnectionConfig = ConnectionConfig.SocketConnection("/var/run/docker.sock"), val auth: MutableMap<String, DockerClientConfig.Auth> = mutableMapOf())

Settings shared by a Docker client and its API groups.

Constructors

Link copied to clipboard
constructor(json: Json = Json { ignoreUnknownKeys = true explicitNulls = false coerceInputValues = true }, connectionConfig: DockerClientConfig.ConnectionConfig = ConnectionConfig.SocketConnection("/var/run/docker.sock"), auth: MutableMap<String, DockerClientConfig.Auth> = mutableMapOf())

Types

Link copied to clipboard
sealed interface Auth

In-memory registry authentication, separate from permission to access the Docker daemon.

Link copied to clipboard
sealed interface ConnectionConfig

Supported daemon transports; Docker contexts and DOCKER_HOST are not resolved automatically.

Properties

Link copied to clipboard

Mutable registry-address-to-credentials map used by image pull/push. Kept in memory only; callers must coordinate concurrent mutations. Docker CLI credential helpers are not read.

Link copied to clipboard

Explicit Docker endpoint; defaults to /var/run/docker.sock.

Link copied to clipboard
val json: Json

JSON codec; defaults tolerate unknown fields and omitted explicit nulls.