We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b166ee commit 881fe1fCopy full SHA for 881fe1f
docs/boot2docker.md
@@ -21,3 +21,17 @@ from docker.utils import kwargs_from_env
21
client = Client(**kwargs_from_env())
22
print client.version()
23
```
24
+
25
+To avoid the common error `SSLError: hostname '192.168.59.103' doesn't match 'boot2docker'`, you
26
+can disable hostname validation.
27
28
+```python
29
+from docker.client import Client
30
+from docker.utils import kwargs_from_env
31
32
+kwargs = kwargs_from_env()
33
+kwargs['tls'].assert_hostname = False
34
35
+client = Client(**kwargs)
36
+print client.version()
37
+```
0 commit comments