Specify browser version for Selenium nodes into docker-compose.yml
I am currently setting up a Selenium Grid through Docker, and more specifically via docker-compose. I am very new to those tools, so I apologize if the answer is obvious, but I couldn't solve it by myself with the doc nor any SO question. The problem is: I was planning on using official Selenium images (selenium/hub, selenium/node-chrome and selenium/node-firefox), but I can't figure out how to specify the browser version of each node. I know that for instance, my node-chrome image contains a specific version of Chrome, depending on its Dockerfile, but I would like to make that version visible from the hub, so that I can run my tests against several versions of each browser, i.e. several nodes. If I'm not clear enough, here is my current hub, with indication of what I am refering to : Hub configuration overview Detailed node configuration As you might guess, my docker-compose.yml is very simple at the moment : version: "2.0" networks: sel_grid: driver: bridge services: hub: image: selenium/hub:3.0.1-barium ports: - "4444:4444" container_name: hub networks: - sel_grid node_chrome: image: selenium/node-chrome:3.0.1-barium environment: - HUB_PORT_4444_TCP_ADDR=hub - HUB_PORT_4444_TCP_PORT=4444 depends_on: - hub networks: - sel_grid node_firefox: image: selenium/node-firefox:3.0.1-barium environment: - HUB_PORT_4444_TCP_ADDR=hub - HUB_PORT_4444_TCP_PORT=4444 depends_on: - node_chrome networks: - sel_grid ... and my compose version is $ docker-compose --version docker-compose version 1.9.0, build 2585387 NOTE My current configuration works well, the only thing I would get is the possibility to handle browser versions through a docker-compose.yml. So any comment about other aspects are welcome as I'm kind of a newbie to Docker, but my principal concern remains the browser versioning. By the way, I have already tried to build my own images of the nodes, based on selenium/node-base with custom Dockerfile, but the browser still won't specify his version from the outside, if not simply throwing an error during installation. Thanks for any help !
Swarm scheduling not working as expected using filters in compose file
issues in buiding Slate with Docker
Invalid type error in Docker Compose
Django cookiecutter with Docker add pip package
Docker Compose + Swarm + Machine Networking issue
docker-compose build image parameters --force-rm --pull
linking 2 containers through docker compose
Files created by manage.py commands not chown'd from root user
Is it possible to create an intermediate image within docker-compose?
docker-compose service listen on specified interface
Does Docker-Compose allow overwriting of ports when using extends?
Jhipster Docker-compose conflict
Build multiple images with Docker Compose?
JHipster Cassandra Docker Build
Defining project name inside docker-compose configuration
Docker-compose named mounted volume