Docker swarm — container binding to ethx IP

I’m really a docker newbie, please forgive my lack of skills on specifying questions.

Now I’ve met a scene in production where I’d like to use docker swarm to connect different machines together in a docker network.

  • viewing the GUI in a docker container on windows
  • How to upgrade a single program in a container owning several ones?
  • Make Docker for mac listen on a tcp port
  • How does docker work along with IBM WebSphere?
  • Is it possible to launch a new Docker container from within a running Docker container using Docker Compose?
  • “Dockerized” apps frequently are built on top of OS containers. Why doesn't this defeat the purpose?
  • But each host machine may have multiple physical NIC(eth0, eth1, etc…), thus different IPs, and each time I orchestrate the system, I’d like to initialize a new network for each container, letting the container use a particular IP among NIC’s IP. But each container using the IP of each NIC, not under docker0.

    I’ve read the doc on docker 17.06ce mentioning using DOCKER-USER flag, but I can’t quite understand that.

    Using host network is not the best option for me because that will occupy the port globally.
    Thanks in advance.

  • Can not access wordpress configured in Docker even though its status is running
  • Can we run multi-process program in docker?
  • Bind to docker socket on Windows
  • Inconsistency in running docker-build on different environment
  • Docker: effect of logging driver on logs
  • Salt: 'dockerng' __virtual__ returned False
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.