37. Docker: Replicated and Global Mode

Published: 17 July 2022
on channel: iMustLearn
284
2

##Replicated mode:
-----------------
Default mode.
Can scale the service using replicas
docker service create name nynginx replicas 2 p 80:80 nginx

##Global Mode:
--------------
Can’t scale the service.
replicas flag can’t be used.
docker service create myglobalnginx p 8080:80 mode global nginx
Can’t change the mode of a service.

Reference Doc:
https://docs.docker.com/engine/swarm/...


Watch video 37. Docker: Replicated and Global Mode online without registration, duration hours minute second in high quality. This video was added by user iMustLearn 17 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 284 once and liked it 2 people.