withHostConfig
suspend fun CreateContainerCmd.withHostConfig(hostConfig: suspend HostConfig.() -> Unit): CreateContainerCmd
Configures this container with the specified HostConfig.
Return
this
, with the host configuration applied.
Parameters
hostConfig
Host configuration block to apply to this Docker container.