diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2022-07-29 22:54:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 15:54:27 -0400 |
commit | 55f47299c45b0c12531a68e233ea98617b1f7928 (patch) | |
tree | 3f5f20af43db41bd3fe219b153b7e4a91487d424 | |
parent | 3ee3a2486fe75ed858f8a3defe0fc79b2743d5df (diff) | |
download | docker-py-55f47299c45b0c12531a68e233ea98617b1f7928.tar.gz |
docs: fix TLS server verify example (#2574)
Leaving out the verify parameter means verification will not be done.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
-rw-r--r-- | docs/tls.rst | 2 |
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 ...``. |