@@ -63,21 +63,21 @@ class APIClient(
63
63
>>> import docker
64
64
>>> client = docker.APIClient(base_url='unix://var/run/docker.sock')
65
65
>>> client.version()
66
- {u'ApiVersion': u'1.24 ',
66
+ {u'ApiVersion': u'1.33 ',
67
67
u'Arch': u'amd64',
68
- u'BuildTime': u'2016-09-27T23:38:15.810178467 +00:00',
69
- u'Experimental ': True ,
70
- u'GitCommit ': u'45bed2c ',
71
- u'GoVersion ': u'go1.6.3 ',
72
- u'KernelVersion ': u'4.4.22-moby ',
68
+ u'BuildTime': u'2017-11-19T18:46:37.000000000 +00:00',
69
+ u'GitCommit ': u'f4ffd2511c' ,
70
+ u'GoVersion ': u'go1.9.2 ',
71
+ u'KernelVersion ': u'4.14.3-1-ARCH ',
72
+ u'MinAPIVersion ': u'1.12 ',
73
73
u'Os': u'linux',
74
- u'Version': u'1.12.2-rc1 '}
74
+ u'Version': u'17.10.0-ce '}
75
75
76
76
Args:
77
77
base_url (str): URL to the Docker server. For example,
78
78
``unix:///var/run/docker.sock`` or ``tcp://127.0.0.1:1234``.
79
79
version (str): The version of the API to use. Set to ``auto`` to
80
- automatically detect the server's version. Default: ``1.26 ``
80
+ automatically detect the server's version. Default: ``1.30 ``
81
81
timeout (int): Default timeout for API calls, in seconds.
82
82
tls (bool or :py:class:`~docker.tls.TLSConfig`): Enable TLS. Pass
83
83
``True`` to enable it with default options, or pass a
0 commit comments