Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit c9161b5

Browse files
committed
README.md#dns section fixes
1 parent d270224 commit c9161b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,15 +339,15 @@ This command line is the same as for Chrome, remember that the selenium running
339339
340340
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.
341341
342-
First attempt to to use --dns option, e.g.
342+
First attempt is to use `--dns` option, e.g.
343343
344344
docker run --dns=1.1.1.1 --dns=1.1.1.2 <args...>
345345
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`
347347
348348
docker run --net=host --pid=host <args...>
349349
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`
351351
352352
### Who is using docker-selenium?
353353

0 commit comments

Comments
 (0)