components/docker/files/man/docker-version.1
changeset 6468 af5d82385cd7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/docker/files/man/docker-version.1	Wed Jul 20 17:19:20 2016 -0700
@@ -0,0 +1,97 @@
+.TH "DOCKER" "1" " Docker User Manuals" "Docker Community" "JUNE 2015"  ""
+
+
+.SH NAME
+.PP
+docker\-version \- Show the Docker version information.
+
+
+.SH SYNOPSIS
+.PP
+\fBdocker version\fP
+[\fB\-\-help\fP]
+[\fB\-f\fP|\fB\-\-format\fP[=\fIFORMAT\fP]]
+
+
+.SH DESCRIPTION
+.PP
+This command displays version information for both the Docker client and
+daemon.
+
+
+.SH OPTIONS
+.PP
+\fB\-\-help\fP
+    Print usage statement
+
+.PP
+\fB\-f\fP, \fB\-\-format\fP=""
+    Format the output using the given go template.
+
+
+.SH EXAMPLES
+.SH Display Docker version information
+.PP
+The default output:
+
+.PP
+.RS
+
+.nf
+$ 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
+
+.fi
+.RE
+
+.PP
+Get server version:
+
+.PP
+.RS
+
+.nf
+$ docker version \-\-format '{{.Server.Version}}'
+1.8.0
+
+.fi
+.RE
+
+.PP
+Dump raw data:
+
+.PP
+To view all available fields, you can use the format \fB\fC{{json .}}\fR.
+
+.PP
+.RS
+
+.nf
+$ 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"}}
+
+.fi
+.RE
+
+
+.SH HISTORY
+.PP
+June 2014, updated by Sven Dowideit 
+\[la][email protected]\[ra]
+June 2015, updated by John Howard 
+\[la][email protected]\[ra]
+June 2015, updated by Patrick Hemmer <[email protected]