I have two Machines running WS 16. Have create a Swarm Cluster with One leader and one worker.
The problem is synchronization of IIS Container (created at leader) cant replicate in this cluster.
docker run -d -p 80:80 --ip=172.x.x.x --name IIStest microsoft/iis ping -t localhost
at ther path of container \inetpub\test have create an index.htm (works ok at IP of Leader)
create a service : docker service create --name=iis --replicas=1 --endpoint-mode=dnsrr --network=cluster --publish mode=host,target=80,published=80 microsoft/iis:latest
So index.htm of container at leader can not replicate to the worker, and also vice versa changes of index.htm
Please advise how to resolve container replication if one node goes down, and the configuration to be the same.