Docker Community Forums

Share and learn in the Docker community.

AWS credentials is not shared from OS X and is not known to Docker

I am on Mac Mojave. I have administrator. I have just installed docker desktop.

I am using serverless, so my aws configuration is in /var/root/.aws/credentials

When I tried to run docker-compose up, I get this error:

The path /var/root/.aws/credentials is not shared from OS X and is not known to Docker. You can configure shared paths from Docker -> Preferences… -> File Sharing. See for more info.

1 Like

Hello @kenntinio I am running a very similar issue where basically everytime I try to run docker-compose with awlogs as logging driver I get:

ERROR: for app Cannot start service app: Failed to initialize logging driver: NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors

Have you found any solution?