-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
awslogs logging driver - NoCredentialProviders: no valid providers in chain #9684
Comments
Hi,
|
Hi, I am trying to run this locally, on my Windows 10 using Docker Desktop. Yes, I know that the AWS credentials needs to be passed to the Docker daemon. I managed to make the same code work on a Ubuntu machine by following this article: https://wdullaer.com/blog/2016/02/28/pass-credentials-to-the-awslogs-docker-logging-driver-on-ubuntu/ Thanks |
You could hack into the Docker Desktop virtual machine, but I would not recommend this approach. |
Issues go stale after 90 days of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Hello,
I am using Docker on Windows (Docker Desktop).
I have a
docker-compose.yml
on which I want to enableawslogs
logging driver:Under
%userprofile%\.aws
I have valid, working aws credentials:When I try to build and run the containers, I get the following error:
The CloudWatch
zookeeper-logs
logs group already exists. The AWS profile which I am using has full access, and has already been tested with different scenarios.The problem seems to be caused by Docker Desktop (Windows) daemon, which cannot read the
.aws
credentials.The same problem has been reported:
https://forums.docker.com/t/awslogs-logging-driver-issue-nocredentialproviders-no-valid-providers-in-chain/91135
https://stackoverflow.com/questions/57142771/nocredentialproviders-error-with-awslogs-logging-driver-in-docker-at-mac
https://stackoverflow.com/questions/60838429/awslogs-logging-driver-issue-nocredentialproviders-no-valid-providers-in-chai
Thank you
The text was updated successfully, but these errors were encountered: