docker-alpine-s3fs icon indicating copy to clipboard operation
docker-alpine-s3fs copied to clipboard

Error on startup

Open runabol opened this issue 7 years ago • 1 comments

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

runabol avatar Aug 11 '17 02:08 runabol

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

akosel avatar Dec 05 '17 22:12 akosel