Skip to content

Commit d65c40b

Browse files
committed
Documents --dockerNetworkMode
1 parent cde67d4 commit d65c40b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,16 +259,23 @@ of the process in the Docker container.
259259
`endpoint` is the URL used to reach the docker host. This is needed to run
260260
the executable in docker. The default value is "unix:///var/run/docker.sock".
261261

262-
* `--dockerNetHost bool`
262+
* `--dockerNetworkMode mode`
263263

264-
If `dockerNetHost` is set, all docker container will be started
265-
with the `--net=host` option.
264+
If `dockerNetworkMode` is set, all docker container will be started
265+
with the `--net=<mode>` option.
266266

267267
* `--dockerPrivileged bool`
268268

269269
If `dockerPrivileged` is set, all docker container will be started
270270
with the `--privileged` option turned on.
271271

272+
* `--dockerNetHost bool` (deprecated)
273+
274+
If `dockerNetHost` is set, all docker container will be started
275+
with the `--net=host` option.
276+
277+
This option is deprecated, use `--dockerNetworkMode=host` instead.
278+
272279
HTTP API
273280
--------
274281

0 commit comments

Comments
 (0)