Get version Run in API Explorer

GET /version

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

Responses

  • 200 application/json

    no error

    Hide response attributes Show response attributes object
    • Platform object
      Hide Platform attribute Show Platform attribute object
      • Name string Required
    • Components array[object]

      Information about system components

      Hide Components attributes Show Components attributes object
      • Name string Required

        Name of the component

      • Version string Required

        Version of the component

      • Details object

        Key/value pairs of strings with additional information about the component. These values are intended for informational purposes only, and their content is not defined, and not part of the API specification.

        These messages can be printed by the client as information to the user.

    • Version string

      The version of the daemon

    • ApiVersion string

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

    • MinAPIVersion string

      The minimum API version that is supported by the daemon

    • GitCommit string

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

    • GoVersion string

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

    • Os string

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

    • Arch string

      The architecture that the daemon is running on

    • KernelVersion string

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

      This field is omitted when empty.

    • Experimental boolean

      Indicates if the daemon is started with experimental features enabled.

      This field is omitted when empty / false.

    • BuildTime string

      The date and time that the daemon was compiled.

  • 500 application/json

    server error

    Hide response attribute Show response attribute object
    • message string Required

      The error message.

GET /version
curl \
 --request GET 'http://api.example.com/v1.49/version'
Response examples (200)
{
  "Platform": {
    "Name": "string"
  },
  "Components": [
    {
      "Name": "Engine",
      "Version": "27.0.1",
      "Details": {}
    }
  ],
  "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"
}
Response examples (500)
{
  "message": "Something went wrong."
}
Response examples (500)
{
  "message": "Something went wrong."
}