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

Commit 97fd2f8

Browse files
committed
VNC_PASSWORD=no README updates
1 parent 5e03d75 commit 97fd2f8

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ If you want to limit yourself to this project, you still can. There are some way
140140
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.
141141

142142
docker run -d --name=grid -p 4444:24444 -p 5900:25900 \
143-
--shm-size=1g -e VNC_PASSWORD=hola \
143+
--shm-size=1g \
144144
-e MAX_INSTANCES=20 -e MAX_SESSIONS=20 \
145145
elgalu/selenium
146146

@@ -163,7 +163,7 @@ You can set a custom screen size at docker run time by providing `SCREEN_WIDTH`
163163
docker pull elgalu/selenium
164164

165165
docker run -d --name=grid -p 4444:24444 -p 5900:25900 \
166-
--shm-size=1g -e VNC_PASSWORD=hola \
166+
--shm-size=1g \
167167
-e SCREEN_WIDTH=1920 -e SCREEN_HEIGHT=1480 \
168168
elgalu/selenium
169169

@@ -175,7 +175,7 @@ You can set a custom screen size at docker run time by providing `SCREEN_WIDTH`
175175
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"`
176176

177177
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" \
179179
--shm-size=1g elgalu/selenium
180180

181181
Examples:
@@ -225,14 +225,7 @@ It is important to note that `ffmpeg` video recording takes an important amount
225225

226226
### VNC
227227

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.
236229

237230
### noVNC
238231

0 commit comments

Comments
 (0)