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

Commit d270224

Browse files
committed
2.47.1i: Update image id and digest.
1 parent 7c63889 commit d270224

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ How to get container versions
3535
+ Python: 2.7.10
3636
+ Sauce Connect 4.3.11, build 1757 2b421bb
3737
+ BrowserStack Local version 3.7
38-
+ Image ID: TBD
39-
+ Digest: sha256:TBD
38+
+ Image ID: 66be67ad7da61893b2341b03afd34bc18da9031fa70df823375cab680a28c2a5
39+
+ Digest: sha256:d3e6b627463598bd59cc9b6201d1f471df122632f9413f69fa5dcd9c7f03c0cc
4040

4141
## 2.47.1h (2015-08-28)
4242
+ Upgrade Firefox 40.0.3, Chrome flavors, chromedriver 2.19 (Leo Gallucci)

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ There are also additional steps you can take to ensure you're using the correct
143143
You can simply verify that image id is indeed the correct one.
144144

145145
# e.g. full image id for tag 2.47.1i
146-
export IMGID=TBD
146+
export IMGID=66be67ad7da61893b2341b03afd34bc18da9031fa70df823375cab680a28c2a5
147147
if docker inspect -f='{{.Id}}' elgalu/selenium:2.47.1i |grep ${IMGID} &> /dev/null; then
148148
echo "Image ID tested ok"
149149
else
@@ -155,7 +155,7 @@ You can simply verify that image id is indeed the correct one.
155155
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:
156156

157157
# e.g. sha256 for tag 2.47.1i
158-
export SHA=TBD
158+
export SHA=d3e6b627463598bd59cc9b6201d1f471df122632f9413f69fa5dcd9c7f03c0cc
159159
docker pull elgalu/selenium@sha256:${SHA}
160160

161161
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
333333
elgalu/docker-selenium local eab41ff50f72 About an hour ago 931.1 MB
334334
ubuntu 14.04.2 d0955f21bf24 4 weeks ago 188.3 MB
335335
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`
351+
336352
### Who is using docker-selenium?
337353
338354
* [Shoov](http://www.gizra.com/content/phantomjs-chrome-docker-selenium-standalone/)

scm-source.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"url": "https://github.com/elgalu/docker-selenium",
3-
"revision": "578c8260a132673df3de9f33e1761bf681f89bd3",
3+
"revision": "7c638897004d7ec17304cf70088369c722c9dd88",
44
"author": "lgallucci",
55
"status": ""
66
}

0 commit comments

Comments
 (0)