Docker Swarm 1.13 Static IP's for Containers?

Hi [gdock84],

I can not help you about Static IP for containers (in swarm mode), but I may make you clear about “the assigned IP’s I gave from the docker-stack.yml file”.

As your docker-stack.yml file, you do not declare the “endpoint mode” (vips or dnsrr). So, default endpoint mode will be used, “vips” mode. In this mode, each service is assigned a vip (virtual IP). And “the assigned IP’s I gave from the docker-stack.yml file” that you mean is the VIP (virtual IP) for the service (kibana, elaticsearch, …). And when using this mode (routing mesh), there is no guarantee about which Docker node services client requests.

Further info about endpoint mode, vip, routing mesh: Overlay network driver | Docker Docs