-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Meta -
Image(s):
node-chrome
Docker Version:
OS: AWS RED HAT Linux
how would I get this working on 2 Ec2 instances , 1 being the Hub and the other that had 50 Chrome Nodes
Used to use this command to connect to a hub on a diff ec2 machine
##Expected
docker run -d -p 901:5555 -e REMOTE_HOST=xx.xx.xx.xxx:901 -e HUB_PORT_4444_TCP_ADDR=yy.xy.xy.xy -e HUB_PORT_4444_TCP_PORT=4444 --name chrome901 seleniumchrome:54.0.2
REMOTE_HOST variable is DEPRECATED in these docker containers. Please use SE_OPTS="-host -port " instead!
Then I tried with SE_OPTS
##Actual
docker run -d -p 103:5555 -e SE_OPTS="-host xx.xx.xx.xxx -port 102" -e HUB_PORT_4444_TCP_ADDR=yy.xy.xy.xy -e HUB_PORT_4444_TCP_PORT=4444 --name chrome103 seleniumchrome:54.0.2
##OUTPUT chrome container logs:
appending selenium options: -host 10.205.74.185 -port 102
Waiting xvfb...
-bash: 10.205.74.185: command not found
Waiting xvfb...
Waiting xvfb...
Waiting xvfb...
Waiting xvfb...
Waiting xvfb...
Waiting xvfb...
Waiting xvfb...
Waiting xvfb...
Waiting xvfb...
/opt/bin/entry_point.sh: line 62: fluxbox: command not found
/opt/bin/entry_point.sh: line 64: x11vnc: command not found
It is similar to issue #307
not sure how i can introduce the SE_OPTS variable , any help would be appreciated