diff --git a/README.md b/README.md index 5f0c96bd0a..0c306fde09 100644 --- a/README.md +++ b/README.md @@ -43,19 +43,16 @@ _Note: Only one standalone image can run on port_ `4444` _at a time._ To inspect visually what the browser is doing use the `standalone-chrome-debug` or `standalone-firefox-debug` images. See [Debugging](#debugging) section for details. -### Selenium Grid Hub +### Selenium Grid Hub and Nodes ``` bash $ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:3.0.1-fermium -``` - -### Chrome and Firefox Grid Nodes - -``` bash $ docker run -d --link selenium-hub:hub selenium/node-chrome:3.0.1-fermium $ docker run -d --link selenium-hub:hub selenium/node-firefox:3.0.1-fermium ``` +## Configuring the containers + ### JAVA_OPTS Java Environment Options You can pass `JAVA_OPTS` environment variable to java process. @@ -74,12 +71,6 @@ $ docker run -d -p 4444:4444 -e SE_OPTS=-debug --name selenium-hub selenium/hub: ## Building the images -Ensure you have the `ubuntu:16.04` base image downloaded, this step is _optional_ since Docker takes care of downloading the parent base image automatically. - -``` bash -$ docker pull ubuntu:16.04 -``` - Clone the repo and from the project directory root you can build everything by running: ``` bash @@ -171,20 +162,6 @@ When you are prompted for the password it is `secret`. If you wish to change thi RUN x11vnc -storepasswd /home/seluser/.vnc/passwd ``` -##### Look around - -``` bash -$ docker images -#=> -REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE -selenium/node-firefox 3.0.1-fermium 69f762d0d79e 29 minutes ago 552.1 MB -selenium/node-chrome 3.0.1-fermium 9dd73160660b 30 minutes ago 723.6 MB -selenium/node-base 3.0.1-fermium 1b7a0b7024b1 32 minutes ago 426.1 MB -selenium/hub 3.0.1-fermium 2570bbb98229 33 minutes ago 394.4 MB -selenium/base 3.0.1-fermium 33478d455dab 33 minutes ago 362.6 MB -ubuntu 16.04 0b7735b9290f 6 days ago 123.7 MB -``` - ### Troubleshooting All output is sent to stdout so it can be inspected by running: