Closed nanofaroque closed 10 months ago
To solve I first pulled the image locally by running the command like: docker pull efrecon/s3fs:1.78
and use it.
Full command:
docker run -it --rm \
--device /dev/fuse \
--cap-add SYS_ADMIN \
--security-opt "apparmor=unconfined" \
--env "AWS_S3_BUCKET=<bucketName>" \
--env "AWS_S3_ACCESS_KEY_ID=<accessKey>" \
--env "AWS_S3_SECRET_ACCESS_KEY=<secretKey>" \
--env UID=$(id -u) \
--env GID=$(id -g) \
-v /mnt/tmp:/opt/s3fs/bucket:rshared \
efrecon/s3fs:1.78
Based on the READMe file, If you run the command like:
It would not work. Based
efrecon/s3fs
will try to pull the latest image. However based on this document here: https://hub.docker.com/r/efrecon/s3fs It clearly says not to use latest image but use specific version.