docker-s3fs-client
docker-s3fs-client copied to clipboard
Host volume mount issue
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.
Can this be a permission issue on /mnt/tmp?