Docker host and running containers have wrong ip ranges

Hi guys!
I have a problem with running my selenium tests in docker container
It works like this:

  1. the server runs on host on ip 172.17.42.1
  2. selenium standalone runs in container on ip 172.17.0.1
    as the result my selenium standalone can’t get access to server on the host and get’s connection refused error
    error’s text
    This webpage is not available
    _ ERR_CONNECTION_REFUSED _
    Reload
    Details

running on my local
everything’s ok, because host’s and container’s ips are in range of 172.17.0.1

build link
https://circleci.com/gh/istreamdata/istreamdatago/226

Thank you

update now i’ve installed docker 1.10.0 and ip’s are ok, however selenium container can’t normally interact with the hos ip
please check https://circleci.com/gh/istreamdata/istreamdatago/251