mirror of https://github.com/docker/docker-py.git
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>
This commit is contained in:
parent
3ee3a2486f
commit
55f47299c4
|
@ -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 ...``.
|
||||
|
|
Loading…
Reference in New Issue