Skip to content

REMOTE_HOST variable is DEPRECATED #401

@dexter999999

Description

@dexter999999

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions