Home:ALL Converter>centralized data storage in docker swarm

centralized data storage in docker swarm

Ask Time:2017-12-14T17:46:19         Author:premredhat

Json Formatter

I have one serious doubt in docker swarm . I have created the docker-machine in VM manager1 worker1 worker2

And joined all the worker to manager and create the service like docker service create --replicas 3 -p 80:80 --name web nginx

I change the index.html in docker service in manager1

When I run the url like http://192.168.99.100 it showing the index.html file that I have changed but the remaining 2 node showing the default nginx page

What is the concept of swarm ? Whether it is used only for the service failure ?

How to make the centralized data storage in docker swarm.

Author:premredhat,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/47810255/centralized-data-storage-in-docker-swarm
yy