goofys-docker
goofys-docker copied to clipboard
s3.ERROR code=NoCredentialProviders
Hello, I just downloaded the plugin and running the socket
wget https://github.com/monder/goofys-docker/releases/download/v0.0.1/goofys-docker
sudo ./goofys-docker &
I created a docker volume and attempt to run in busybox and I have this error ("s3-bucket" is the name of my bucket)
docker volume create --name=s3-bucket --driver=goofys
docker run -v s3-bucket:/home -it busybox sh
2024/05/31 17:19:22 Mounting volume s3-bucket on /var/lib/docker-volumes/goofys/s3-bucket
2024/05/31 17:19:22.464853 s3.ERROR code=NoCredentialProviders msg=no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors, err=<nil>
2024/05/31 17:19:22.489969 s3.INFO Switching from region 'eu-west-1' to 'us-east-1'
2024/05/31 17:19:22.491939 s3.ERROR code=NoCredentialProviders msg=no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors, err=<nil>
2024/05/31 17:19:22.491966 main.ERROR Unable to access 's3-bucket': NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
docker: Error response from daemon: failed to populate volume: error while mounting volume '': VolumeDriver.Mount: Goofys: initialization failed.
I have my credentials under ~/.aws/credentials
in both my user directory and root directory. I also have the env variables available as well. I am able to use the aws cli
just fine. Do you know what might be causing this?