I have a docker-compose file that I upgraded from version 1 to version 2.
It set ups a simple Selenium hub with a firefox node.
When I set it up as version 1 it launches fine. When I set it up with version 2 the ff container returns "Not linked with a running Hub container" and exits.
As I researched it and understood it , is that the linkage between the containers somehow suffers.
Is there a solution ?? Am I missing something ??
version: '2'
services:
hub:
container_name: hub
image: selenium/hub
ports:
- "8080:4444" # HOST:CONTAINER
expose:
- "4444"
ff:
container_name: ff
image: selenium/node-firefox
links:
- hub
expose:
- "5555"