How do I get a Docker Swarm manager to pull images from AWS ECR using IAM Role permissions?
问题 I'm having trouble pulling images from AWS ECR, running Docker Swarm. It's been working ok for years, but my swarm manager nodes were changed to new EC2 instances. Now my services fail to deploy: ~ $ docker stack deploy -c dkr_compose_geo_site:3.2.0 --with-registry-auth geo_stack The manager node log shows "no basic auth credentials": May 19 21:21:12 ip-172-31-3-108 root: time="2020-05-19T21:21:12.857007050Z" level=error msg="pulling image failed" error="Get https://445523.dkr.ecr.us-west-2