Official Docker containers made in conjunction with the Selenium team are available at:
- selenium
- Forked from https://github.com/lzhang/docker-selenium
Either git pull and build this docker image yourself, or pull down the version you need from the docker index.
$ sudo docker pull momer/docker-selenium-hub:1.0.0
(note: Replace 1.0.0 with up-to-date version if any, check DockerHub page for more info about this image)
This was designed to work with MaestroNG. You can either set your container to use that, or, start this container by passing the necessary environment variables:
$ SELENIUM_CONTAINER=$(sudo docker run -e "SELENIUM_HUB_PORT=4444" -e "SELENIUM_HUB_TIMEOUT=300000" -e "SELENIUM_HUB_MAX_SESSION=15" -p 4444:4444 -d momer/selenium:`version`)
Selenium hub is now available on port 4444 at the host and container.