create

suspend fun create(config: VolumeCreateOptions = VolumeCreateOptions()): Result<Volume, ErrorResponse>

Create a volume

Return

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

Parameters

config

Configuration sent to Docker as JSON.