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:
parent
b3ab7c9665
commit
6cee6085d6
@ -69,6 +69,14 @@ $ docker version --format '{{.Server.Version}}'
|
|||||||
19.03.8
|
19.03.8
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Get the client API version
|
||||||
|
|
||||||
|
```console
|
||||||
|
$ docker version --format '{{.Client.APIVersion}}'
|
||||||
|
|
||||||
|
1.41
|
||||||
|
```
|
||||||
|
|
||||||
### Dump raw JSON data
|
### Dump raw JSON data
|
||||||
|
|
||||||
```console
|
```console
|
||||||
|
Loading…
x
Reference in New Issue
Block a user