Mention version='auto' in docs

This commit is contained in:
Joffrey F 2015-03-05 12:12:02 -08:00
parent acfa99dd10
commit 6f18b4a86f
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ c = Client(base_url='unix://var/run/docker.sock')
* base_url (str): Refers to the protocol+hostname+port where the Docker server
is hosted.
* version (str): The version of the API the client will use
* version (str): The version of the API the client will use. Specify `'auto'`
to use the API version provided by the server.
* timeout (int): The HTTP request timeout, in seconds.
* tls (bool or [TLSConfig](tls.md#TLSConfig)): Equivalent CLI options: `docker --tls ...`