mirror of https://github.com/docker/docker-py.git
Fixed TLS docs
This commit is contained in:
parent
dc16b56c4b
commit
0c8626ebea
|
@ -72,7 +72,7 @@ docker --tls --tlscert /path/to/client-cert.pem --tlskey /path/to/client-key.pem
|
|||
```python
|
||||
tls_config = docker.tls.TLSConfig(
|
||||
client_cert=('/path/to/client-cert.pem', '/path/to/client-key.pem'),
|
||||
ca_cert='/path/to/ca.pem'
|
||||
verify='/path/to/ca.pem'
|
||||
)
|
||||
client = docker.Client(base_url='<https_url>', tls=tls_config)
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue