-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VNC enabled container cannot start when env var SE_OPTS
contains whitespace.
#335
Comments
This is similar issue to this #249 , I bet. |
out of curiosity, instead of specifying an array, have you also tried just an object? ...
environment:
JAVA_OPTS: '-Xmx512m'
NODE_MAX_INSTANCES: 2
NODE_MAX_SESSION: 2
SE_OPTS: '-host 1.2.3.4 -port 5555'
HUB_PORT_4444_TCP_ADDR: 5.6.7.8
HUB_PORT_4444_TCP_PORT: 4444 |
@ddavison I've tried environment object, the result is the same: $ docker-compose up -d
Creating selenium_firefox_1
$ docker-compose logs -f
Attaching to selenium_firefox_1
firefox_1 | appending selenium options: -host 1.2.3.4 -port 5555
firefox_1 | Waiting xvfb...
firefox_1 | -bash: 1.2.3.4: command not found
firefox_1 | Waiting xvfb...
firefox_1 | Waiting xvfb...
firefox_1 | Waiting xvfb... The problem is
( |
Ran into same thing. This is pretty much required for getting a remote node hooked up to a remote grid. Found a similar issue that worked for handling the spaces in env vars here: https://github.com/SeleniumHQ/docker-selenium/pull/249/files to get this working - you can make a the following changes: and just copy the fixes that were made in that one merge request and put in in the folder as defined above ($PWD/op/bin/entry_point.sh) - hackish but will override the entry_point.sh until it is working (also chmod +x entry_point.sh is needed) |
👍 I'll try it. |
@vimagick did this work for you? I'm still using my hacked file in the meantime... would be nice to have this fixed in the main project files |
This was solved with #459, which was merged and released, this issue can be closed. |
I'm try to run
selenium/node-chrome-debug
with thisdocker-compose.yml
:I'm try to connect this node (1.2.3.4:5555) to remote hub (5.6.7.8:4444).
I found that entry_point.sh cannot handle white-spaces inside
$SE_OPTS
very well.The text was updated successfully, but these errors were encountered: