summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/tls.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tls.rst b/docs/tls.rst
index 2e2f1ea..b95b468 100644
--- a/docs/tls.rst
+++ b/docs/tls.rst
@@ -15,7 +15,7 @@ For example, to check the server against a specific CA certificate:
.. code-block:: python
- tls_config = docker.tls.TLSConfig(ca_cert='/path/to/ca.pem')
+ tls_config = docker.tls.TLSConfig(ca_cert='/path/to/ca.pem', verify=True)
client = docker.DockerClient(base_url='<https_url>', tls=tls_config)
This is the equivalent of ``docker --tlsverify --tlscacert /path/to/ca.pem ...``.