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.
if docker inspect -f='{{.Id}}' elgalu/selenium:2.47.1i |grep ${IMGID} &> /dev/null; then
148
148
echo "Image ID tested ok"
149
149
else
@@ -155,7 +155,7 @@ You can simply verify that image id is indeed the correct one.
155
155
Given docker.io currently allows to push the same tag image twice this represent a security concern but since docker >= 1.6.2 is possible to fetch the digest sha256 instead of the tag so you can be sure you're using the exact same docker image every time:
You can find all digests sha256 and image ids per tag in the [CHANGELOG](./CHANGELOG.md) so as of now you just need to trust the sha256 in the CHANGELOG. Bullet proof is to fork this project and build the images yourself if security is a big concern.
@@ -333,6 +333,22 @@ This command line is the same as for Chrome, remember that the selenium running
333
333
elgalu/docker-selenium local eab41ff50f72 About an hour ago 931.1 MB
334
334
ubuntu 14.04.2 d0955f21bf24 4 weeks ago 188.3 MB
335
335
336
+
#### DNS
337
+
338
+
##### How to share the host DNS
339
+
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
+
342
+
First attempt to to use --dns option, e.g.
343
+
344
+
docker run --dns=1.1.1.1 --dns=1.1.1.2 <args...>
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:
347
+
348
+
docker run --net=host --pid=host <args...>
349
+
350
+
So `--pid=host` is included to avoid `sudo: unable to send audit message: Operation not permitted`
0 commit comments