Add example get API version

Getting the client API version is non-intuitive.
Other keys follow the json example or the version output, however `'{{.Client.ApiVersion}}'` does not work, nor does `'{{.Client.APIversion}}'`

Signed-off-by: Gabriel Gore <gabgore@cisco.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Gabriel 2018-11-07 15:11:14 -05:00 committed by Sebastiaan van Stijn
parent b3ab7c9665
commit 6cee6085d6
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 8 additions and 0 deletions

View File

@ -69,6 +69,14 @@ $ docker version --format '{{.Server.Version}}'
19.03.8
```
### Get the client API version
```console
$ docker version --format '{{.Client.APIVersion}}'
1.41
```
### Dump raw JSON data
```console