{"id":13580307,"url":"https://github.com/encircle360-oss/rclone-nfs-server","last_synced_at":"2026-01-28T01:56:35.993Z","repository":{"id":132466812,"uuid":"397919127","full_name":"encircle360-oss/rclone-nfs-server","owner":"encircle360-oss","description":"A small nfs server that can provide access to Rclone mounts. Since Rclone supports mostly all cloud providers and remotes you can expose these files and remotes via nfs.","archived":false,"fork":false,"pushed_at":"2021-08-19T11:38:22.000Z","size":5,"stargazers_count":17,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-05T19:42:32.749Z","etag":null,"topics":["cloud","dropbox","gdrive","mount","nfs","rclone","s3","serve","server"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/encircle360-oss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-08-19T11:26:50.000Z","updated_at":"2024-04-17T17:29:49.000Z","dependencies_parsed_at":"2024-01-16T20:29:00.496Z","dependency_job_id":null,"html_url":"https://github.com/encircle360-oss/rclone-nfs-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/encircle360-oss%2Frclone-nfs-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/encircle360-oss%2Frclone-nfs-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/encircle360-oss%2Frclone-nfs-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/encircle360-oss%2Frclone-nfs-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/encircle360-oss","download_url":"https://codeload.github.com/encircle360-oss/rclone-nfs-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247425904,"owners_count":20937034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","dropbox","gdrive","mount","nfs","rclone","s3","serve","server"],"created_at":"2024-08-01T15:01:49.719Z","updated_at":"2026-01-28T01:56:35.944Z","avatar_url":"https://github.com/encircle360-oss.png","language":"Dockerfile","funding_links":[],"categories":["Dockerfile"],"sub_categories":[],"readme":"# Rclone-NFS-Server\nThis docker image provides you with a small [nfs-server](https://github.com/ehough/docker-nfs-server) that exposes your [rclone](https://rclone.org) remote. You can then access all your rclones remote files via NFS.\n\n## Quickstart\nBe aware that nfs-server needs some special privileges to be able to start and also rclone needs privileges to be able to mount within a container.\nSo you must run the container in privileged mode or provide the correct system capabilites. So be aware to run this container in a secure environment since it has more privileges than normal.\n\nThe host needs to have nfs and nfsd kernel modules loaded. You can do this by installing `nfs-common` package and optionally modprobing nfs and nfsd if not done automatically.\n\nOn debian based linux distributions this would work like this:\n\n```\nsudo apt-get install nfs-common\n```\n\n\nIf you just want to use NFSv4 which only needs tcp port `2049` you can run the following. Your rclone.conf file in the directory you mount into the docker container _needs to contain_ a remote with the name `remote`. Only this remote will be mounted and exposed via NFS.\n\n```\n[remote] # the name here is important\ntype = crypt\nremote = gdrive:storage/rclone-path\nfilename_encryption = standard\ndirectory_name_encryption = true\n... further settings\n```\n\n```\ndocker run -v /path/to/rclone/confdir:/rclone/config -p 0.0.0.0:2049:2049 --privileged registry.gitlab.com/encircle360-oss/rclone-nfs-server:latest\n```\n\nAfterwards just use the NFS client or tool you want to connect to the host you binded. In case of the example it's the host which runs docker (`10.10.10.10`).\n\n```\nmkdir -p /mnt/test\nsudo mount -t nfs 10.10.10.10:/ /mnt/test\n```\n\n## Customization\nYou can customize many settings in the underlying nfs-server. For example it's also possible to restrict the IP addresses that are allowed to connect via NFS exports or to disable or enable specific NFS versions. In the default the container will spawn both simultaniously, NFSv4 and NFSv3.\n\nYou can find all customization options [here](https://github.com/ehough/docker-nfs-server).\n\n## Contribute\nFeel free to contribute to this open source project. Just fork, change and create a pull or merge request to this repository.\n\n### Ideas \u0026 Improvements\n* Make rclone mount configurable\n* Multiple rcloune mounts and nfs exports\n\n## Credits\nThis is open source software by [encircle360](https://encircle360.com). Use on your own risk and for personal use. If you need support or consultancy just contact us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fencircle360-oss%2Frclone-nfs-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fencircle360-oss%2Frclone-nfs-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fencircle360-oss%2Frclone-nfs-server/lists"}