Comments (5)
The code auto-injects the -o
:
docker-s3fs-client/docker-entrypoint.sh
Line 68 in 96052ad
from docker-s3fs-client.
I didn't specified a version, so I assume I use the latest.
from docker-s3fs-client.
Here is my docker-compose.yml file :
---
version: '3.8'
services:
s3fs:
privileged: true
image: efrecon/s3fs
restart: unless-stopped
environment:
- AWS_S3_URL=${S3_ENDPOINT_URL}
- AWS_S3_BUCKET=${S3_BUCKET_NAME}
- AWS_S3_ACCESS_KEY_ID=${S3_ACCESS_KEY_ID}
- AWS_S3_SECRET_ACCESS_KEY=${S3_SECRET_ACCESS_KEY}
- UID=${S3_UID}
- GID=${S3_GID}
- S3FS_ARGS='-oallow_other'
- S3FS_DEBUG=0
volumes:
- ${S3PATH}:/opt/s3fs/bucket:rshared
devices:
- /dev/fuse
cap_add:
- SYS_ADMIN
security_opt:
- apparmor=unconfined
# ...
When I change it to S3FS_ARGS='allow_other'
, I get :
s3fs_1 | s3fs: unable to access MOUNTPOINT xyzxyzxyzxyzxyzxyzxyzxyz: No such file or directory
s3fs_1 | Mount failure
Without that S3FS_ARGS
option, mount succeed, but I have some "forbiden" access right problems in other docker services.
from docker-s3fs-client.
When I change it to S3FS_ARGS='allow_other', I get :
s3fs_1 | s3fs: unable to access MOUNTPOINT xyzxyzxyzxyzxyzxyzxyzxyz: No such file or directory
s3fs_1 | Mount failure
IIRC, I had the same error, removing the quotes should fix this: S3FS_ARGS=allow_other
.
from docker-s3fs-client.
The quotes are misplaced according to the Docker compose specification (well, actually more of a YAML issue). If you want quotes, you should place them around the whole expression, i.e. "S3FS_ARGS=allow_other"
from docker-s3fs-client.
Related Issues (20)
- How to use on ARM server? HOT 1
- Running container with command docker service HOT 3
- Mounted volume is empty HOT 2
- Possibility to load credentials from env file HOT 2
- fuse: unknown option `endpoint="ap_east_1"' HOT 1
- Error when starting contaniers 'exec /sbin/tini: exec format error' HOT 2
- s3fs: unable to access MOUNTPOINT error HOT 5
- Session Token HOT 2
- [HCP] Hitachi Content Platform HOT 2
- s3fs | adduser: user '1000' in use HOT 1
- Volume on Host / Containers not reflecting Bucket Contents HOT 10
- s3fs: unable to access MOUNTPOINT {bucketname}: No such file or directory HOT 3
- Add arm64 arch. build to DockerHub releases HOT 2
- is --volumes-from a possibility? HOT 1
- Is manual unmount required? HOT 1
- Run docker-s3fs-client as non root user
- docker-entrypoint.sh: reading AWS_S3_SECRET_ACCESS_KEY variable from file not working, request for reading variable from file for AWS_S3_ACCESS_KEY_ID
- manifest for efrecon/s3fs:latest not found: manifest unknown: manifest unknown HOT 1
- Does anyone able to umount automcatically successfully in k8s? HOT 2
- s3fs: Failed to access bucket. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-s3fs-client.