use docker container on host network without sharing host's ip

My docker host is part of the local network

Is there a way to run a container that becomes a part of the host network, but does not share the same ip as the host? So for example if the host has the ip i’d like to provide to the container without interfering with the docker host’s network configuration.

  • Access named volume from container when not running as root?
  • Is Docker native on Mesos OS X?
  • Executing `ls` on docker with a shared volume results in “No such file or directory”
  • How to substitute variable value in “docker run” command
  • Dockerize a node express app with docker-compose
  • Docker newbie setup troubles
  • subdomain is created via domain regitrar or web server?
  • Running docker on virtual Server- Possible or not?
  • Docker ERROR: Container command not found or does not exist when running from Win10
  • Unable to access MongoDB within a container within a Docker Machine instance from Windows
  • How can I remove all containers by image name and do nothing if it already removed
  • Can not Start Rancher Agent in Docker
  • One Solution collect form web for “use docker container on host network without sharing host's ip”

    since a docker container is by nature bound to use the networking stack of it’s host, it also has to share the hosts IP to communicate with the network. For a one-container setup, the only solution should be to add a second NIC to the host and use that second NIC and the provided IP exclusively for your docker… But apart from that I don’t see any solution that does not deeply mutilate the OSI model of your host’s network stack and thus include some major side-effects :-/

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.