Skip to content

klamas1/docker-alpine-s3fs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alpine-s3fs

Use s3fs with Alpine Linux to mount an S3 bucket as a directory in the filesystem.
Uses environment variables to configure.

AWS_ACCESS_KEY_ID= # required unless IAM_ROLE is set
AWS_SECRET_ACCESS_KEY= # required unless IAM_ROLE is set
URL=https://s3.amazonaws.com # default, optional
S3_ACL=private # default, optional
S3_BUCKET=test-bucket # required
IAM_ROLE= # optional IAM role name, for usage on EC2.

Versions:

  1. rjocoleman/alpine-s3fs:latest

This image is plain functionality on top of a standard alpine:3.3 image.

  1. rjocoleman/alpine-s3fs:ruby2

This image is based on the official ruby:2-alpine image. It includes Ruby 2.x latest on top of Alpine 3.3.

Usage

As a base image for a container. ENV MOUNT_POINT can be changed to direct the mount point to a different directory as required.

Note

Exporting Fuse based mounts as data volumes using the --volumes-from command doesn't work (this is a Docker thing).

About

Use s3fs-fuse with Alpine Linux in Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 39.9%
  • Makefile 31.2%
  • Dockerfile 28.9%