Skip to content

Commit

Permalink
Merge pull request #374 from ryneeverett/tighten-readme
Browse files Browse the repository at this point in the history
Tighten readme
  • Loading branch information
ddavison authored Feb 1, 2017
2 parents ba92bc1 + 3685df1 commit 5375800
Showing 1 changed file with 3 additions and 26 deletions.
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

0 comments on commit 5375800

Please sign in to comment.