DEV Community

Discussion on: AWS S3 as Docker volumes

Collapse
 
jrykowskihuron profile image
jrykowski-huron

The rexray/s3fs plugin uses parameters S3FS_ACCESSKEY/S3FS_SECRETKEY for the s3fs or EBS_ACCESSKEY/EBS_SECRETKEY for the ebs file system type.

Example to install the plugin and use values from environment variables:

docker plugin install rexray/s3fs:latest S3FS_REGION=us-east-2 S3FS_OPTIONS="allow_other,iam_role=auto,umask=000" S3FS_ACCESSKEY=$AWS_ACCESS_KEY_ID S3FS_SECRETKEY=$AWS_SECRET_KEY_ID --grant-all-permissions