I have docker swarm cluster of 5 nodes (3 Manager and 2 worker nodes).Deploying images from AWS ECR registry. Before starting services authenticating Docker with ECR using command
"aws ecr get-login -" on all the Swarm nodes
As the login token is valid only for 12 hours. To run the updated images after expiry of 12 hours am I required run
"aws ecr get-login -" on all the Swarm nodes or only Leader node since docker service create is run only from Leader ?