Docker Community Forums

Share and learn in the Docker community.

Mounting S3 bucket into container

docker
amazonwebservices

(Ram Gopinathan) #1

Is it possible to mount an S3 bucket into container as volume? I see an s3 storage driver but that seems to be for registry


(Think) #2

do you know this experiment?


(Nathan Le Claire) #3

In general I’m not really a fan of the tools that try to pass S3 buckets off as a FUSE filesystem or similar – S3 is an object storage service, trying to treat it as a filesystem could potentially cause all sorts of issues. I’d suggest using the various SDKs for your language (or the AWS CLI if you’re just scripting in shell) to interact with S3. You can drop your IAM credentials in using swarm mode secrets if you’re swarm mode too.


(Psoaressunquest) #4

Do you have any data or examples of errors you saw in real life to back your fears?