Hacker News new | ask | show | jobs
by jeremija 2461 days ago
IIRC, if you use docker swarm it wil handle the routing for you. So if an app is running on port 8080 on two swarm nodes, if you access port 8080 on each node, you might actually be accessing another node.

Since docker swarm knows if an instance is down, it will know to not use that instance.

See https://docs.docker.com/engine/swarm/ingress/

1 comments

I run on Docker Swarm and there are hiccups as one container goes up and another goes down during deployment.