mirror of https://github.com/docker/docker-py.git
Incorrect argument list in TLS docs
This commit is contained in:
parent
8393dbcaff
commit
d528e7ea51
|
|
@ -379,7 +379,7 @@ Equivalent CLI options: `docker --tlsverify --tlscacert /path/to/ca.pem ...`
|
||||||
|
|
||||||
```python
|
```python
|
||||||
tls_config = docker.tls.TLSConfig(
|
tls_config = docker.tls.TLSConfig(
|
||||||
True, client_cert=('/path/to/client-cert.pem', '/path/to/client-key.pem')
|
client_cert=('/path/to/client-cert.pem', '/path/to/client-key.pem')
|
||||||
)
|
)
|
||||||
client = docker.Client(base_url='<https_url>', tls=tls_config)
|
client = docker.Client(base_url='<https_url>', tls=tls_config)
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue