Package-level declarations

Functions

Link copied to clipboard
fun createBind(source: DockerVolume, destination: Volume, accessMode: AccessMode = AccessMode.DEFAULT): Bind
fun createBind(path: Path, volume: Volume, accessMode: AccessMode = AccessMode.DEFAULT): Bind

Creates a volume bind to the container.

Link copied to clipboard
fun createDevice(cgroupPermissions: String, pathInContainer: Path, pathOnHost: Path): Device

Creates a Device which binds to /dev.

Link copied to clipboard
fun volume(path: Path): Volume

Creates a Volume using the given path.

Link copied to clipboard
suspend fun CreateContainerCmd.withHostConfig(hostConfig: suspend HostConfig.() -> Unit): CreateContainerCmd

Configures this container with the specified HostConfig.