disconnect
suspend fun disconnect(id: String, connectionConfig: NetworkDisconnectRequest): Result<Unit, ErrorResponse>
Disconnect a container from a network
Return
Operation response on success, or the Docker error response. Transport failures and cancellation can throw.
Parameters
id
Network ID or name.
connection Config
Container and endpoint options sent to Docker.