Skip to content

Commit 6248b3c

Browse files
committed
Document tls_verify_peer option in README
1 parent 57f80bd commit 6248b3c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,15 @@ docker = DockerEngineRuby::Client.new(
132132
)
133133
```
134134

135+
By default, peer verification is enabled. You can disable it explicitly:
136+
137+
```ruby
138+
docker = DockerEngineRuby::Client.new(
139+
base_url: "https://localhost:2376",
140+
tls_verify_peer: false
141+
)
142+
```
143+
135144
You can also configure these through environment variables:
136145

137146
- `DOCKER_TLS_CA_CERT_PATH`

0 commit comments

Comments
 (0)