Docker container access to swarm IPs

When running docker containers a swarm cluster do the containers have access to all the IPs of the cluster nodes via ENV variables or otherwise?

I want to run an Elasticsearch instance on each node in my swarm the cluster. And they will discovery each other in unicast mode. Therefore each Elasticsearch instanc needs to be configured with the list of IPs in the cluster.

  • Docker 1.10 container's IP in LAN
  • Installing and using Gradle in a docker image/container
  • The relation between “docker/swarm” and “docker/swarmkit”
  • Set Docket to use Flannel network on CoreOS with etcd2
  • connect a password of mssql server to other services in using docker
  • How can I setup and deploy a database with Deis (PaaS)
  • Docker-compose cannot find Java
  • Restrict jenkins only on localhost with docker and nginx
  • Limit number of processes started inside docker container
  • How stop containers run with `docker-compose run`
  • Docker performance on ubuntu host 2x+ worse than OSX host
  • How to access a container from a Bluemix app?
  • One Solution collect form web for “Docker container access to swarm IPs”

    If you mean that container of one node can access container’s IP of other node , then it is not possible . You have to use weave tool to connect container across different node or other tool .

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