{"id":21881068,"url":"https://github.com/wtsi-hgi/bindmapfuse","last_synced_at":"2026-04-29T06:38:11.039Z","repository":{"id":146402414,"uuid":"146627509","full_name":"wtsi-hgi/bindmapfuse","owner":"wtsi-hgi","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-01T23:15:06.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-27T14:06:00.896Z","etag":null,"topics":["bind-mount","docker","filesystem","fuse","passthrough"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wtsi-hgi.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-29T16:23:37.000Z","updated_at":"2020-12-01T05:32:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"df5d39a7-8c88-4978-9ef0-657f3a802426","html_url":"https://github.com/wtsi-hgi/bindmapfuse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wtsi-hgi/bindmapfuse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtsi-hgi%2Fbindmapfuse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtsi-hgi%2Fbindmapfuse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtsi-hgi%2Fbindmapfuse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtsi-hgi%2Fbindmapfuse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wtsi-hgi","download_url":"https://codeload.github.com/wtsi-hgi/bindmapfuse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wtsi-hgi%2Fbindmapfuse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32414422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bind-mount","docker","filesystem","fuse","passthrough"],"created_at":"2024-11-28T09:17:41.355Z","updated_at":"2026-04-29T06:38:11.024Z","avatar_url":"https://github.com/wtsi-hgi.png","language":"Go","readme":"bindmapfuse\n===========\n\nbindmapfuse is a FUSE filesystem that exposes an underlying filesystem according to a potentially very large set of bind mounts. It was developed to solve a problem in which a very large number (hundreds of thousands to millions) of bind mounts were desired in a docker container, but the docker daemon does not support this because the container configuration became too large.\n\nExample Usage\n-------------\nCreate a YAML (or JSON) configuration file that contains a `mounts` key, which is a map of \"mountpoints\" and real paths (i.e. paths on the underlying filesystem). Like bind mounts with docker, both files and directories can be bind mounted.\n\nExample YAML configuration (`example.yaml`):\n```yaml\nmounts:\n  file1.txt: \"/tmp/foo/bar/foobarfile.txt\"\n  dir1: \"/tmp/baz\"\n  file2.txt: \"/tmp/qux/quxfile.txt\"\n  \"dir1/qux\": \"/tmp/qux\"\n```\n\nThis can then be mounted at a `/tmp/mnt` mountpoint by running bindmapfuse:\n```\n$ bindmapfuse /tmp/mnt -o bind_map_config=example.yaml \u0026\n```\n\nIf the underlying files do not exist, that will cause a \"No such file or directory\"\nerror, though at present they will still be listed in the directory listing but\nwithout any stat information:\n```\n$ ls -lR /tmp/mnt\n/tmp/mnt:\nls: cannot access '/tmp/mnt/dir1': No such file or directory\nls: cannot access '/tmp/mnt/file1.txt': No such file or directory\nls: cannot access '/tmp/mnt/file2.txt': No such file or directory\ntotal 0\n?????????? ? ? ? ?            ? dir1\n?????????? ? ? ? ?            ? file1.txt\n?????????? ? ? ? ?            ? file2.txt\n```\n\nYou can create suitable example files and directories on the underlying filesystem:\n```\n$ mkdir /tmp/foo /tmp/foo/bar /tmp/baz /tmp/qux\n$ echo foobar \u003e /tmp/foo/bar/foobarfile.txt\n$ echo baz \u003e /tmp/baz/bazfile.txt\n$ echo qux \u003e /tmp/qux/quxfile.txt\n```\n\nAfter which the specified bind mounts will be available under the mount point:\n```\n$ ls -R /tmp/mnt\n/tmp/mnt:\ndir1  file1.txt  file2.txt\n\n/tmp/mnt/dir1:\nbazfile.txt  qux\n\n/tmp/mnt/dir1/qux:\nquxfile.txt\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwtsi-hgi%2Fbindmapfuse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwtsi-hgi%2Fbindmapfuse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwtsi-hgi%2Fbindmapfuse/lists"}