efrecon / docker-s3fs-client

Alpine-based s3fs client: mount from container, make available to other containers
BSD 3-Clause "New" or "Revised" License
180 stars 63 forks source link

Host volume mount issue #59

Open abhijithb2109 opened 2 weeks ago

abhijithb2109 commented 2 weeks ago

I ran the following Docker command:

docker run -d \ --device /dev/fuse \ --cap-add SYS_ADMIN \ --security-opt apparmor=unconfined \ -e AWS_S3_BUCKET=s3input \ -e AWS_S3_ACCESS_KEY_ID= \ -e AWS_S3_SECRET_ACCESS_KEY= \ -e UID=$(id -u) \ -e GID=$(id -g) \ -v /mnt/tmp:/opt/s3fs/bucket:rshared \ efrecon/s3fs:1.90

After executing this command and accessing the container, I can see the S3 files available in /opt/s3fs/bucket. However, they are not mounted in the host machine's path /mnt/tmp. A similar issue occurs when using Docker Compose.

efrecon commented 1 week ago

Can this be a permission issue on /mnt/tmp?