command: docker version
short: Show the Docker version information
long: |-
  By default, this will render all version information in an easy to read
  layout. If a format is specified, the given template will be executed instead.

  Go's [text/template](http://golang.org/pkg/text/template/) package
  describes all the details of the format.
usage: docker version [OPTIONS]
pname: docker
plink: docker.yaml
options:
- option: format
  shorthand: f
  value_type: string
  description: Format the output using the given Go template
  deprecated: false
  experimental: false
  experimentalcli: false
  kubernetes: false
  swarm: false
examples: |-
  ### Default output

  ```bash
  $ docker version

  Client:
  Version:      1.8.0
  API version:  1.20
  Go version:   go1.4.2
  Git commit:   f5bae0a
  Built:        Tue Jun 23 17:56:00 UTC 2015
  OS/Arch:      linux/amd64

  Server:
  Version:      1.8.0
  API version:  1.20
  Go version:   go1.4.2
  Git commit:   f5bae0a
  Built:        Tue Jun 23 17:56:00 UTC 2015
  OS/Arch:      linux/amd64
  ```

  ### Get the server version

  ```bash
  $ docker version --format '{{.Server.Version}}'

  1.8.0
  ```

  ### Dump raw JSON data

  ```bash
  $ docker version --format '{{json .}}'

  {"Client":{"Version":"1.8.0","ApiVersion":"1.20","GitCommit":"f5bae0a","GoVersion":"go1.4.2","Os":"linux","Arch":"amd64","BuildTime":"Tue Jun 23 17:56:00 UTC 2015"},"ServerOK":true,"Server":{"Version":"1.8.0","ApiVersion":"1.20","GitCommit":"f5bae0a","GoVersion":"go1.4.2","Os":"linux","Arch":"amd64","KernelVersion":"3.13.2-gentoo","BuildTime":"Tue Jun 23 17:56:00 UTC 2015"}}
  ```
deprecated: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false

