We are using Docker Swarm. We deployed the service with docker stack deploy -c docker-compose.yml Application
. During the lifetime of a service, we want to remove one of service labels (service-custom-label
) with docker service update --label-rm service-custom-label Application_web
. We noticed that after running this command, website is unavailable for ~10 seconds because containers are restarted in the background.
Is it possible to remove Docker service labels without restarting containers in the background and thus not causing website downtime?