Docker Community Forums

Share and learn in the Docker community.

Attach/detach a network overlay during a service update


As I understand from the Docker Swarm Mode documentation, we can attach many networks to a service during the create using the --network flag.

My question is : Can we add or remove a network during a service update ? If yes, how ? For example if I want to attach one of my current services to an additional network overlay.

Thanks !