fromRegistry

suspend fun fromRegistry(context: DockerDaemon, imageTag: String, source: String?): DockerImage

Pulls an image from a Docker registry.

Parameters

imageTag

Tag of the image.

source

Registry to pull from. If null, defaults to hub.docker.com.