Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 232 Bytes

rolling-update.md

File metadata and controls

15 lines (12 loc) · 232 Bytes

Rolling upgrade

Start with 6 services

docker service create --name webserver -p 8000:80 \
   --replicas 6 \
   --update-delay 15s \
   nginx:stable

Change to latest

docker service update --image nginx webserver