getVersion

suspend fun getVersion(): Result<SystemVersion, ErrorResponse>

Get version

Returns the version of Docker that is running and various information about the system that Docker is running on.

Return

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