removeDaemon

suspend fun removeDaemon(hostname: String)

Removes a daemon from the list of available DockerDaemon for dispatch.

If the to-be-removed daemon still has tasks or runners dispatched to it, the operation will block on the coroutine until all tasks on the daemon has been completed, or the daemon has lost connection.

Parameters

hostname

The hostname/URL of the daemon to remove.

Throws

if a daemon with the given hostname does not exist.