Skip to content

Commit 5375800

Browse files
authored
Merge pull request #374 from ryneeverett/tighten-readme
Tighten readme
2 parents ba92bc1 + 3685df1 commit 5375800

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

README.md

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,16 @@ _Note: Only one standalone image can run on port_ `4444` _at a time._
4343

4444
To inspect visually what the browser is doing use the `standalone-chrome-debug` or `standalone-firefox-debug` images. See [Debugging](#debugging) section for details.
4545

46-
### Selenium Grid Hub
46+
### Selenium Grid Hub and Nodes
4747

4848
``` bash
4949
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:3.0.1-fermium
50-
```
51-
52-
### Chrome and Firefox Grid Nodes
53-
54-
``` bash
5550
$ docker run -d --link selenium-hub:hub selenium/node-chrome:3.0.1-fermium
5651
$ docker run -d --link selenium-hub:hub selenium/node-firefox:3.0.1-fermium
5752
```
5853

54+
## Configuring the containers
55+
5956
### JAVA_OPTS Java Environment Options
6057

6158
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:
7471

7572
## Building the images
7673

77-
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.
78-
79-
``` bash
80-
$ docker pull ubuntu:16.04
81-
```
82-
8374
Clone the repo and from the project directory root you can build everything by running:
8475

8576
``` bash
@@ -171,20 +162,6 @@ When you are prompted for the password it is `secret`. If you wish to change thi
171162
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
172163
```
173164

174-
##### Look around
175-
176-
``` bash
177-
$ docker images
178-
#=>
179-
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
180-
selenium/node-firefox 3.0.1-fermium 69f762d0d79e 29 minutes ago 552.1 MB
181-
selenium/node-chrome 3.0.1-fermium 9dd73160660b 30 minutes ago 723.6 MB
182-
selenium/node-base 3.0.1-fermium 1b7a0b7024b1 32 minutes ago 426.1 MB
183-
selenium/hub 3.0.1-fermium 2570bbb98229 33 minutes ago 394.4 MB
184-
selenium/base 3.0.1-fermium 33478d455dab 33 minutes ago 362.6 MB
185-
ubuntu 16.04 0b7735b9290f 6 days ago 123.7 MB
186-
```
187-
188165
### Troubleshooting
189166

190167
All output is sent to stdout so it can be inspected by running:

0 commit comments

Comments
 (0)