Companion

object Companion

Functions

Link copied to clipboard
suspend fun fromDockerfile(context: DockerDaemon, inFile: Path, configure: BuildImageCmd.() -> Unit = {}): DockerImage

Creates a DockerImage from a Dockerfile.

Link copied to clipboard
suspend fun fromExisting(context: DockerDaemon, imageId: String): DockerImage?

Wraps a created image with imageId into a DockerImage.

Link copied to clipboard
suspend fun fromRegistry(context: DockerDaemon, imageTag: String, source: String?): DockerImage

Pulls an image from a Docker registry.

Link copied to clipboard
suspend fun list(context: DockerDaemon, filterOp: ListImagesCmd.() -> Unit = {}): List<DockerImage>

Lists all images managed by this Docker instance.