efrecon / docker-s3fs-client

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

s3fs: Failed to access bucket. #55

Open KhASQ opened 8 months ago

KhASQ commented 8 months ago

Hi

I tried to start the container but I face this issue

docker run -it --rm \ --device /dev/fuse \ --cap-add SYS_ADMIN \ --security-opt "apparmor=unconfined" \ --env "AWS_S3_BUCKET=sample-bucket" \ --env "AWS_S3_ACCESS_KEY_ID=myname" \ --env "AWS_S3_SECRET_ACCESS_KEY=mypass" \ --env "AWS_S3_URL=http://myip:9000" \ --env UID=$(id -u) \ --env S3FS_DEBUG=1 \ --env GID=$(id -g) \ -v $(pwd)/tmp1111111111:/opt/s3fs/bucket:rshared \ efrecon/s3fs:1.78 Add group 1000 Add user 1000, turning on rootless-mode Mounting bucket sample-bucket onto /opt/s3fs/bucket, owner: 1000:1000 FUSE library version: 2.9.9 nullpath_ok: 0 nopath: 0 utime_omit_ok: 0 unique: 2, opcode: INIT (26), nodeid: 0, insize: 104, pid: 0 INIT: 7.38 flags=0x73fffffb max_readahead=0x00020000 s3fs: Failed to access bucket.

I checked the network and it is fine also the credentials

Please your support

efrecon commented 8 months ago

Start by testing again with the latest version of s3fs: https://github.com/efrecon/docker-s3fs-client/pkgs/container/s3fs/191750906?tag=1.94