I'm trying to follow the docker ecs integration instructions.
I've copied their required IAM permissions to make sure my user has access. I've successfully created a context with:
docker context create ecs akff-web
passing it the correct AWS profile and set it to use:
docker context use akff-web
The results of docker context ls look similar to those in the documentation––namely akff-web * ecs with all the other fields blank for my new context.
When I'm in my default context, docker compose up works fine. I'm using the public image php:apache for my base image, so I'm not in the same boat as others who are actually using private images.
But docker compose up still gives me an authorization error:
$ docker compose up
INFO trying next host error="pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed" host=registry-1.docker.io
pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
I'm new to docker and aws so I'd really appreciate any pointers in how to troubleshoot this issue.