How rolling update works in swarm mode?

I am running 4 servers (containers) on a single docker engine. Now if I wanna update these containers, how to apply rolling updates?

Just $ docker service update --image redis:3.0.7 redis command as mentioned in is not sufficient since I’ve to add few more ENV variables when updating using a new image.

So, basically can someone explain how rolling update works with docker

Thanks in avance :slight_smile:

1 Like