docker-alpine-s3fs
docker-alpine-s3fs copied to clipboard
Error on startup
docker run -it --rm -e AWS_ACCESS_KEY_ID=XXXXXX \
-e AWS_SECRET_ACCESS_KEY=XXXXXX \
-e S3_BUCKET=my-bucket \
rjocoleman/alpine-s3fs:latest
IAM_ROLE is not set - mounting S3 with credentials from ENV
fuse: device not found, try 'modprobe fuse' first
You need to add a few options:
--cap-add SYS_ADMIN --device /dev/fuse
See reference to running fuse filesystem here: https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities