Runtime

@Serializable
data class Runtime(val path: String? = null, val runtimeArgs: List<String>? = null, val status: Map<String, String>? = null)

Runtime describes an OCI compliant runtime. The runtime is invoked by the daemon via the containerd daemon. OCI runtimes act as an interface to the Linux kernel namespaces, cgroups, and SELinux.

Parameters

path

Name and, optional, path, of the OCI executable binary. If the path is omitted, the daemon searches the host's $PATH for the binary and uses the first result.

runtimeArgs

List of command-line arguments to pass to the runtime when invoked.

status

Information specific to the runtime. While this API specification does not define data provided by runtimes, the following well-known properties may be provided by runtimes: org.opencontainers.runtime-spec.features: features structure as defined in the OCI Runtime Specification, in a JSON string representation.


>Note: The information returned in this field, including the > formatting of values and labels, should not be considered stable, > and may change without notice.

Constructors

Link copied to clipboard
constructor(path: String? = null, runtimeArgs: List<String>? = null, status: Map<String, String>? = null)

Properties

Link copied to clipboard
@SerialName(value = "path")
val path: String?
Link copied to clipboard
@SerialName(value = "runtimeArgs")
val runtimeArgs: List<String>?
Link copied to clipboard
@SerialName(value = "status")
val status: Map<String, String>?