From 8d55367a6a2f47a1be7e360a872bd7e56f4353df Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 1 Jun 2020 21:31:35 +0100 Subject: [PATCH] build: set user_allow_other in /etc/fuse.conf in the Docker image This allows non root mounts to use the --allow-other flag See: https://forum.rclone.org/t/trying-utilize-docker-for-the-first-time-having-some-issues-with-an-rclone-mount-user-allow-other-error-etc-fuse-conf-has-been-updated-to-allow/16393 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f6d5db3a8..29099372f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ RUN ./rclone version # Begin final image FROM alpine:latest -RUN apk --no-cache add ca-certificates fuse +RUN apk --no-cache add ca-certificates fuse && \ + echo "user_allow_other" >> /etc/fuse.conf COPY --from=builder /go/src/github.com/rclone/rclone/rclone /usr/local/bin/