Docker Community Forums

Share and learn in the Docker community.

Availability of an instance/replica after docker service create --replicas 3


(Timeless) #1

Hi, if I scale up from 2 replicas to 10 on the same node like worker1 is there a way to figure out of the status of the new replicas is. Problem is , that we need to do some tasks like NPM and install more software which is not in the container. It is determined at runtime only. Express routes are being set etc. If now a requests hits that replica # 3 too early we get a 404 . Any idea or suggestion ?