Skip to content

Tighten readme #374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 1, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 3 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down Expand Up @@ -171,20 +162,6 @@ When you are prompted for the password it is `secret`. If you wish to change thi
RUN x11vnc -storepasswd <your-password-here> /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:
Expand Down