Unverified Kaydet (Commit) 6935ce88 authored tarafından Tsuyoshi Hombashi's avatar Tsuyoshi Hombashi

Fix descriptions of the default API version in docs

1.30 -> 1.35
Signed-off-by: 's avatarTsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
üst d7772b73
...@@ -82,7 +82,7 @@ class APIClient( ...@@ -82,7 +82,7 @@ class APIClient(
base_url (str): URL to the Docker server. For example, base_url (str): URL to the Docker server. For example,
``unix:///var/run/docker.sock`` or ``tcp://127.0.0.1:1234``. ``unix:///var/run/docker.sock`` or ``tcp://127.0.0.1:1234``.
version (str): The version of the API to use. Set to ``auto`` to version (str): The version of the API to use. Set to ``auto`` to
automatically detect the server's version. Default: ``1.30`` automatically detect the server's version. Default: ``1.35``
timeout (int): Default timeout for API calls, in seconds. timeout (int): Default timeout for API calls, in seconds.
tls (bool or :py:class:`~docker.tls.TLSConfig`): Enable TLS. Pass tls (bool or :py:class:`~docker.tls.TLSConfig`): Enable TLS. Pass
``True`` to enable it with default options, or pass a ``True`` to enable it with default options, or pass a
......
...@@ -26,7 +26,7 @@ class DockerClient(object): ...@@ -26,7 +26,7 @@ class DockerClient(object):
base_url (str): URL to the Docker server. For example, base_url (str): URL to the Docker server. For example,
``unix:///var/run/docker.sock`` or ``tcp://127.0.0.1:1234``. ``unix:///var/run/docker.sock`` or ``tcp://127.0.0.1:1234``.
version (str): The version of the API to use. Set to ``auto`` to version (str): The version of the API to use. Set to ``auto`` to
automatically detect the server's version. Default: ``1.30`` automatically detect the server's version. Default: ``1.35``
timeout (int): Default timeout for API calls, in seconds. timeout (int): Default timeout for API calls, in seconds.
tls (bool or :py:class:`~docker.tls.TLSConfig`): Enable TLS. Pass tls (bool or :py:class:`~docker.tls.TLSConfig`): Enable TLS. Pass
``True`` to enable it with default options, or pass a ``True`` to enable it with default options, or pass a
...@@ -62,7 +62,7 @@ class DockerClient(object): ...@@ -62,7 +62,7 @@ class DockerClient(object):
Args: Args:
version (str): The version of the API to use. Set to ``auto`` to version (str): The version of the API to use. Set to ``auto`` to
automatically detect the server's version. Default: ``1.30`` automatically detect the server's version. Default: ``1.35``
timeout (int): Default timeout for API calls, in seconds. timeout (int): Default timeout for API calls, in seconds.
ssl_version (int): A valid `SSL version`_. ssl_version (int): A valid `SSL version`_.
assert_hostname (bool): Verify the hostname of the server. assert_hostname (bool): Verify the hostname of the server.
......
...@@ -727,7 +727,7 @@ class ContainerCollection(Collection): ...@@ -727,7 +727,7 @@ class ContainerCollection(Collection):
uts_mode (str): Sets the UTS namespace mode for the container. uts_mode (str): Sets the UTS namespace mode for the container.
Supported values are: ``host`` Supported values are: ``host``
version (str): The version of the API to use. Set to ``auto`` to version (str): The version of the API to use. Set to ``auto`` to
automatically detect the server's version. Default: ``1.30`` automatically detect the server's version. Default: ``1.35``
volume_driver (str): The name of a volume driver/plugin. volume_driver (str): The name of a volume driver/plugin.
volumes (dict or list): A dictionary to configure volumes mounted volumes (dict or list): A dictionary to configure volumes mounted
inside the container. The key is either the host path or a inside the container. The key is either the host path or a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment