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
+4-11Lines changed: 4 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,7 +140,7 @@ If you want to limit yourself to this project, you still can. There are some way
140
140
1. The _(not recommended)_ way is by increasing `MAX_INSTANCES` and `MAX_SESSIONS` which now [defaults](https://github.com/elgalu/docker-selenium/blob/2.53.1a/Dockerfile#L967) to 1.
141
141
142
142
docker run -d --name=grid -p 4444:24444 -p 5900:25900 \
143
-
--shm-size=1g -e VNC_PASSWORD=hola \
143
+
--shm-size=1g \
144
144
-e MAX_INSTANCES=20 -e MAX_SESSIONS=20 \
145
145
elgalu/selenium
146
146
@@ -163,7 +163,7 @@ You can set a custom screen size at docker run time by providing `SCREEN_WIDTH`
163
163
docker pull elgalu/selenium
164
164
165
165
docker run -d --name=grid -p 4444:24444 -p 5900:25900 \
166
-
--shm-size=1g -e VNC_PASSWORD=hola \
166
+
--shm-size=1g \
167
167
-e SCREEN_WIDTH=1920 -e SCREEN_HEIGHT=1480 \
168
168
elgalu/selenium
169
169
@@ -175,7 +175,7 @@ You can set a custom screen size at docker run time by providing `SCREEN_WIDTH`
175
175
You can control and modify the timezone on a container by using the [TZ](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) environment variable through the `docker run` command, e.g. by adding `-e TZ="US/Pacific"`
176
176
177
177
docker run --rm -ti --name=grid -p 4444:24444 -p 5900:25900 \
178
-
-e TZ="US/Pacific" -e VNC_PASSWORD=hola \
178
+
-e TZ="US/Pacific" \
179
179
--shm-size=1g elgalu/selenium
180
180
181
181
Examples:
@@ -225,14 +225,7 @@ It is important to note that `ffmpeg` video recording takes an important amount
225
225
226
226
### VNC
227
227
228
-
When you don't specify a VNC password, a random one will be generated. That password can be seeing by grepping the logs:
229
-
230
-
docker exec grid wait_all_done 30s
231
-
#=> ... a VNC password was generated for you: ooGhai0aesaesh
232
-
233
-
You can connect to see what's happening
234
-
235
-
open vnc://:ooGhai0aesaesh@localhost:5900
228
+
When you don't specify a VNC password, the new default `VNC_PASSWORD=no` will make it VNC passwordless accessible.
0 commit comments