You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -339,15 +339,15 @@ This command line is the same as for Chrome, remember that the selenium running
339
339
340
340
By default `docker run` sets the DNS to Google ones *8.8.8.8 and 8.8.4.4* however you may need to use your own.
341
341
342
-
First attempt to to use --dns option, e.g.
342
+
First attempt is to use `--dns` option, e.g.
343
343
344
344
docker run --dns=1.1.1.1 --dns=1.1.1.2 <args...>
345
345
346
-
However this may not work for you and simply want to share the same DNS name resolution that the docker host machine, in which case you should use:
346
+
However this may not work for you and simply want to share the same DNS name resolution than the docker host machine, in which case you should use`--net=host` along with `--pid=host`
347
347
348
348
docker run --net=host --pid=host <args...>
349
349
350
-
So `--pid=host` is included to avoid `sudo: unable to send audit message: Operation not permitted`
350
+
So `--pid=host` is included to avoid https://github.com/docker/docker/issues/5899 `sudo: unable to send audit message: Operation not permitted`
0 commit comments