Skip to content

Commit ba0680d

Browse files
committed
Expanded on boot2docker SSL error resolution
1 parent dfd35a0 commit ba0680d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/boot2docker.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@ client = Client(**kwargs_from_env())
2222
print client.version()
2323
```
2424

25-
To avoid the common error `SSLError: hostname '192.168.59.103' doesn't match 'boot2docker'`, you
26-
can disable hostname validation.
25+
If you're encountering the following error:
26+
`SSLError: hostname '192.168.59.103' doesn't match 'boot2docker'`, you can:
27+
28+
1. Add an entry to your /etc/hosts file matching boot2docker to the daemon's IP
29+
1. disable hostname validation (but please consider the security implications
30+
in doing this)
2731

2832
```python
2933
from docker.client import Client

0 commit comments

Comments
 (0)