Bound
A bound instance of DockerDaemon is a daemon which declares resource reservation and is bound to a task.
Bound daemons can be replicated via boundInstance, and unbound daemons can be created from bound daemons via unboundInstance. However, there is generally no such need, as bound daemons expose more functionality than unbound daemons.
Properties
Link copied to clipboard
Retrieves a bound instance of DockerDaemon.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A DockerClient instance which connects to the host of this DockerDaemon.
Link copied to clipboard
Link copied to clipboard
Retrieves an unbound instance of DockerDaemon.
Link copied to clipboard
Functions
Link copied to clipboard
Executes block using a new instance of DockerClient, automatically closing the client after the block has exited.
Link copied to clipboard
suspend fun <R> withInstanceSuspending(context: CoroutineContext? = null, block: suspend DockerClient.() -> R): R
Executes block using a new instance of DockerClient, automatically closing the client after the block has exited.