create

suspend fun create(networkConfig: NetworkCreateRequest): Result<NetworkCreateResponse, ErrorResponse>

Create a network

Return

Operation response on success, or the Docker error response. Transport failures and cancellation can throw.

Parameters

networkConfig

Network name, driver, IPAM and other creation options.