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

Commit 578c826

Browse files
committed
README updates
1 parent 0121e7c commit 578c826

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,13 @@ See: https://github.com/SeleniumHQ/docker-selenium
1515

1616
Note SeleniumHQ/docker-selenium project is more useful for building selenium grids while this one focuses on building disposable standalone selenium servers that you should `docker stop` as soon as your tests finishes. It also focuses on debugging via VNC which can be difficult on a Selenium Grid given you can't know in advance in which node will your test end up running and therefore can't know to which node to connect via VNC to actually see the test running.
1717

18-
### One-liner Install & Usage
18+
### Run
1919

20-
In general: add `sudo` only if needed in your environment and `--privileged` or `-v /dev/shm:/dev/shm` if you really need it like when [Chrome crashes](https://github.com/elgalu/docker-selenium/issues/20) during your high gpu intensive tests.
20+
In general add `sudo` only if needed in your environment and `--privileged` or `-v /dev/shm:/dev/shm` if you really need it like when [Chrome crashes](https://github.com/elgalu/docker-selenium/issues/20) during your high gpu intensive tests.
2121

2222
docker run -p 4444:24444 -p 5920:25900 -v /dev/shm:/dev/shm \
2323
-e VNC_PASSWORD=hola elgalu/selenium:2.47.1h
2424

25-
### Non-privileged
26-
### Run
27-
28-
If your setup is correct, privileged mode and sudo should not be necessary:
29-
30-
docker run --rm --name=ch -p=4444:24444 -p=5920:25900 \
31-
elgalu/selenium:2.47.1h
32-
3325
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:
3426

3527
docker exec ch /bin-utils/timeout-wait-xterm.sh 1m

0 commit comments

Comments
 (0)