create

suspend fun create(context: DockerDaemon, image: DockerImage, configure: suspend CreateContainerCmd.() -> Unit = {}): DockerContainer

Creates a container from a DockerImage.

Parameters

image

Docker image to create the container from.

configure

Optional configuration for the container.