Where are you seeing the error? Somewhere in Dagster or in docker compose?
If the former, we don’t do anything special for AWS credential lookups - we just use the default boto3 credentials provider strategies so make sure your credentials are made available in one of these ways:
If the latter, you might want to search for similar troubleshooting tips for docker compose. I suspect the guidance will be similar, but it does look like there are a handful of GitHub discussions in the compose repo already. For example:
05/10/2023, 2:45 PM
I'm able to do docker push but while running docker --context dagster-ecs compose --project-name dagster up I get this error
05/10/2023, 2:54 PM
That sounds like the issue is with docker compose finding your credentials. I’d try to troubleshooting advice in that GitHub discussion.