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
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ In general: add `sudo` only if needed in your environment and `--privileged` if
28
28
If your setup is correct, privileged mode and sudo should not be necessary:
29
29
30
30
docker run --rm --name=ch -p=4444:24444 -p=5920:25900 \
31
-
elgalu/selenium:2.47.1f
31
+
elgalu/selenium:2.47.1g
32
32
33
33
Make sure `docker run` finishes with **selenium all done and ready for testing** else you won't be able to start your tests. To perform this check programatically please use this command where `ch` is the name of the container:
34
34
@@ -89,11 +89,11 @@ If the VNC password was randomly generated find out with
89
89
## Grid
90
90
## Hub
91
91
92
-
You can lunch a grid only container via environment variables:
92
+
You can launch a grid only container via environment variables:
The important part above is `-e CHROME=false -e FIREFOX=false` which tells the docker image not run run default chorme and firefox nodes turning the container into a grid-only one.
99
99
@@ -109,7 +109,7 @@ You can lunch a node only container via environment variables:
109
109
-p 25550:25550 -p 25551:25551 \
110
110
-e GRID=false -e CHROME=true -e FIREFOX=true \
111
111
-v $(pwd)/videos:/videos \
112
-
elgalu/selenium:2.47.1f
112
+
elgalu/selenium:2.47.1g
113
113
114
114
The important part above is `-e GRID=false` which tells the container to be a node-only node, this this case with 2 browsers `-e CHROME=true -e FIREFOX=true` but could be just 1.
115
115
@@ -146,9 +146,9 @@ There are also additional steps you can take to ensure you're using the correct
146
146
147
147
You can simply verify that image id is indeed the correct one.
148
148
149
-
# e.g. full image id for tag 2.47.1f
149
+
# e.g. full image id for tag 2.47.1g
150
150
export IMGID=TBD
151
-
if docker inspect -f='{{.Id}}' elgalu/selenium:2.47.1f |grep ${IMGID} &> /dev/null; then
151
+
if docker inspect -f='{{.Id}}' elgalu/selenium:2.47.1g |grep ${IMGID} &> /dev/null; then
152
152
echo "Image ID tested ok"
153
153
else
154
154
echo "Image ID doesn't match"
@@ -158,7 +158,7 @@ You can simply verify that image id is indeed the correct one.
158
158
159
159
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:
@@ -287,7 +287,7 @@ If you git clone this repo locally, i.e. cd into where the Dockerfile is, you ca
287
287
288
288
If you prefer to download the final built image from docker you can pull it, personally I always prefer to build them manually except for the base images like Ubuntu 14.04.2:
0 commit comments