google-drive-ocamlfuse for alpine
5.8K
I RECOMMEND REPLACING WITH RCLONE OR https://github.com/astrada/google-drive-ocamlfuse/wiki/Installation#docker
Docker image to mount a google drive with google-drive-ocamlfuse shared with host.
don't include lines for client_id, client_secret, or verification_code to the default_config file; they will be added by entrypoint.sh. config file does not support comments etc. https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities
ln -s /mnt/gdrive /mnt/user/gdrive && chown nobody:users -h /mnt/user/gdrive
If you get a 'server error' when restarting the container in unraid, run "fusermount -uz /mnt/gdrive/"
PUID: User ID of mounted filesPGID: Group ID of mounted filesMOUNT_OPTS: Additional mount optionsCLIENT_ID: Google oAuth client ID without trailing .apps.googleusercontent.comCLIENT_SECRET: Google oAuth client secretVERIFICATION_CODE: Google oAuth verification code you will need to obtain manually (and prior to launching the container) by accepting the prompts at the following URL (with CLIENT_ID substituted):
https://accounts.google.com/o/oauth2/auth?client_id=${CLIENT_ID}.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=https://www.googleapis.com/auth/drive&response_type=code&access_type=offline&approval_prompt=forcemount --bind /mnt/drive /mnt/drive
mount --make-shared /mnt/drive
Content type
Image
Digest
sha256:061c76b9f…
Size
12.6 MB
Last updated
2 months ago
docker pull patricol/alpine-gdrive