command: docker version short: Show the Docker version information long: "This command displays version information for both the Docker client and \ndaemon. \n\n# EXAMPLES\n\n## Display Docker version information\n\nThe default output:\n\n \ $ docker version\n\tClient:\n\t Version: 1.8.0\n\t API version: 1.20\n\t Go version: go1.4.2\n\t Git commit: f5bae0a\n\t Built: Tue Jun 23 17:56:00 UTC 2015\n\t OS/Arch: linux/amd64\n\n\tServer:\n\t Version: 1.8.0\n\t API version: 1.20\n\t Go version: go1.4.2\n\t Git commit: f5bae0a\n\t Built: \ Tue Jun 23 17:56:00 UTC 2015\n\t OS/Arch: linux/amd64\n\nGet server version:\n\n $ docker version --format '{{.Server.Version}}'\n\t1.8.0\n\nDump raw data:\n\nTo view all available fields, you can use the format `{{json .}}`.\n\n \ $ docker version --format '{{json .}}'\n {\"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\"}}\n" usage: docker version [OPTIONS] pname: docker plink: docker.yaml options: - option: format shorthand: f description: Format the output using the given Go template