A docker container which builds S3FS and mounts an S3 bucket during run.
1.7K
This project is no longer maintained. If someone would like to adopt it I'll be happy to transfer it.
A docker image with S3FS built and ready to use
While you can use this image directly, it's probably more useful to extend this container into your own. You can use '/root/run' as a wrapper which mounts S3, runs a command, and unmounts.
This image will mount bucket $AWS_BUCKET on /mnt/s3 using credentials $AWSACCESSKEYID and $AWSSECRETACCESSKEY, then run the command passed in to docker.
Show what is in an S3 bucket
docker build -t withs3 .
docker run --privileged=true -e AWS_BUCKET=mybucket -e AWSACCESSKEYID=somekey -e AWSSECRETACCESSKEY=somesecret withs3 ls /mnt/s3
Allegedly, you should only need to run with '--cap-add SYS_ADMIN --device /dev/fuse'. However, that hasn't worked in my testing.
Content type
Image
Digest
sha256:5a84723a0…
Size
160.5 MB
Last updated
over 5 years ago
docker pull deweysasser/s3fs