-
-
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
Docker for Mac beta - containers do not start #227
Comments
I am having the same issue. Unfortunately overriding it with |
@MartinNuc actually looking at how I worked around it, I set the On trying to reproduce this tonight, it looks like this has indeed been fixed in Beta 13.1. I now have a version string of: Version 1.11.1-beta13.1 (build: 8193) This doesn't seem to be injecting a broken |
I'm on version: Version 1.11.1-beta13.1 (build: 8193) and this issue seems to happen to me. Using the debug version of node-chrome (node-chrome-debug). |
I experience this behaviour in Version 1.11.1-beta13.1 (build: 8193). Using I am using this command: |
This is strange - I was launching via an API rather than |
@MartinNuc I've checked through the CLI as well as the API - things seem to be working for me setting no_proxy to localhost. My Docker for Mac version string is What do you get from executing these commands:
and
? My output is:
If I omit the |
Sorry for late reply. I was sick for few days. Meanwhile I upgraded to Tried again
However there is another env with space: So using |
Docker version 1.11.1, build 5604cbe happen for the debug versions, none debug seems to work fine. using @MartinNuc trick worked. |
I had the same problem - setting |
Just in case this is helpful to someone else, I encountered this issue using docker-compose on Docker Beta for OSX. In order to get it working, I had to specify the env var not only for my selenium container, but for each of the containers it linked. |
According to the official Docker for Mac forums this has been resolved: https://forums.docker.com/t/space-in-new-no-proxy-env-var-breaking-old-containers/14075/2 I've tested the fix (upgrade to the latest version, then reset to factory defaults) and was able to remove the workaround from my Just keep in mind you lose all local images and containers when you reset to factory defaults… EDIT: Maybe I spoke too soon. It just came back somehow, so I did a factory reset again and now it's gone. Not sure what's happening… |
FWIW I am running these containers in Docker for Mac with no problem right now. |
Faced with problem on Mac. Docker version 1.12.0, build 8eab29e. This helped as workaround:
|
Guys the issue reported was seen on the Debug container and its due to entrypoint looking for a file created by root but as seluser when updating the password. This pull req should solve it: |
Yes, problem only with Debug Containers. |
I'm having Mac mini ( 10.10.5 ) with docker 1.12.1 ( build: 121333) I tried below and didn't work docker run -P -p 5901:5900 -e no_proxy=localhost -e HUB_ENV_no_proxy=localhost --link selenium-hub:hub selenium/standalone-chrome-debug:2.53.0 it hung with last message Setting default value |
Got it working with below command docker run -d -P -e no_proxy=localhost -e HUB_ENV_no_proxy=localhost --link selenium-hub:hub selenium/node-chrome-debug |
since this is on Docker's side, closing. once an update comes out for docker, we can ensure that this is indeed fixed. |
I am having issue linking selenium/node-chrome with selenium/hub in Mac OS. docker images |
I'm seeing the same issue, seems to not like spaces on osx: LC02T26AAGTFM:Downloads jimb$ docker run -p 5555:5555 -p 5900:5900 -e HUB_PORT_4444_TCP_ADDR=172.17.42.1 -e HUB_PORT_4444_TCP_PORT=4444 -e SE_OPTS="-host 172.17.42.1" ppselenium/node-firefox-debug:2.53.1-binks meta: Server: |
Please use this command : |
So the issue for me is SE_OPTS, not no_proxy. The offending bit of code is: Suggested fix is to change it to |
moby/moby#9145
Hope this helps
…On Thu, Mar 23, 2017 at 6:08 AM, Jim Brännlund ***@***.***> wrote:
So the issue for me is SE_OPTS, not no_proxy.
The offending bit of code is: env | cut -f 1 -d "=" | sort > asroot
Suggested fix is to change it to env | cut -f 1 -d "=" | grep -v SE_OPTS
| sort > asroot
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#227 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFtP_NQLek0ZjElIQnC2r7B7MLgC-YpVks5rokS5gaJpZM4IpjYK>
.
|
@saradcd77 , I got this issue $ docker run -d -P -e no_proxy=localhost -e HUB_ENV_no_proxy=localhost --link selenium-hub-P:hub selenium/node-chrome |
@sandeep540, Not sure if you were able to fix the issue already. Did you tried to expose the ports prior before linking them? |
@sandeep540's command's error says: Did you start the hub? |
I think this is potentially, mainly, a Docker for Mac issue, but I'm raising here for visibility and because a fix may be possible on this side.
Here's the issue I've raised in the Docker forums: https://forums.docker.com/t/space-in-new-no-proxy-env-var-breaking-old-containers/14075
In brief:
no_proxy
, which contains whitespace:no_proxy=*.local, 169.254/16
To see this, with Docker for Mac beta 13 run:
This line of the entrypoint script seems to need some extra work to deal with spaces in env vars: https://github.com/SeleniumHQ/docker-selenium/blob/master/StandaloneChromeDebug/entry_point.sh#L21
I'll try and submit a patch if I can, but I'd hope the primary fix can be made in the Docker side.
The text was updated successfully, but these errors were encountered: