System

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

get/version

Request

  • Base URL
    /v1.57 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Response

no error

Versionstring

The version of the daemon

ApiVersionstring

The default (and highest) API version that is supported by the daemon

MinAPIVersionstring

The minimum API version that is supported by the daemon

GitCommitstring

The Git commit of the source code that was used to build the daemon

GoVersionstring

The version Go used to compile the daemon, and the version of the Go runtime in use.

Osstring

The operating system that the daemon is running on ("linux" or "windows")

Archstring

Architecture of the daemon, as returned by the Go runtime (GOARCH).

A full list of possible values can be found in the Go documentation.

KernelVersionstring

The kernel version (uname -r) that the daemon is running on.

This field is omitted when empty.

Experimentalboolean

Indicates if the daemon is started with experimental features enabled.

This field is omitted when empty / false.

BuildTimestring

The date and time that the daemon was compiled.

Example response

{
  "Components": [
    {
      "Name": "Engine",
      "Version": "27.0.1"
    }
  ],
  "Version": "27.0.1",
  "ApiVersion": "1.47",
  "MinAPIVersion": "1.24",
  "GitCommit": "48a66213fe",
  "GoVersion": "go1.22.7",
  "Os": "linux",
  "Arch": "amd64",
  "KernelVersion": "6.8.0-31-generic",
  "Experimental": true,
  "BuildTime": "2020-06-22T15:49:27.000000000+00:00"
}

Changes

    • breaking

      removed the media type application/json for the response with the status

    • info

      api operation id SystemVersionOp removed and replaced with SystemVersion

    • info

      api tag System added

    • info

      added the non-success response with the status

    • info

      api operation id SystemVersion removed and replaced with SystemVersionOp

    • info

      api tag System removed

    • info

      removed the non-success response with the status