Imagine a docker swarm setup with a worker and a servic that is constrainted to the worker.
If that worker was encountered into network connection issue to manager, then after a while it reconnected to the manager. We all know that the manager will "keep the service alive". But I realized that the manager is actually keeping the service by create a new container and then remove the old container. In this way the old container loss it's state.
Is there a way to bring the service alive by using the original container without making new one? Or any other workaround? The purpose here is to not remove the old container.