{"id":17962977,"url":"https://github.com/hectorqin/docker-volume-local-mapping","last_synced_at":"2025-10-06T00:47:24.899Z","repository":{"id":103002021,"uuid":"112453796","full_name":"hectorqin/docker-volume-local-mapping","owner":"hectorqin","description":"Docker volume plugin for local-mapping","archived":false,"fork":false,"pushed_at":"2017-11-30T08:16:28.000Z","size":769,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T10:41:27.069Z","etag":null,"topics":["custom-mountpoint","docker","docker-volume-plugin","local-folder"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hectorqin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-11-29T09:21:18.000Z","updated_at":"2024-01-02T22:21:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8b8e8be-7397-4fc4-ae7a-e1c9bf896d0f","html_url":"https://github.com/hectorqin/docker-volume-local-mapping","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hectorqin/docker-volume-local-mapping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorqin%2Fdocker-volume-local-mapping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorqin%2Fdocker-volume-local-mapping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorqin%2Fdocker-volume-local-mapping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorqin%2Fdocker-volume-local-mapping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hectorqin","download_url":"https://codeload.github.com/hectorqin/docker-volume-local-mapping/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hectorqin%2Fdocker-volume-local-mapping/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278542684,"owners_count":26004061,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["custom-mountpoint","docker","docker-volume-plugin","local-folder"],"created_at":"2024-10-29T11:21:55.046Z","updated_at":"2025-10-06T00:47:24.881Z","avatar_url":"https://github.com/hectorqin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker volume plugin for local-mapping\n\nThis plugin allows you to map local folder to volume.\n\nTravisCI[![TravisCI](https://travis-ci.org/hectorqin/docker-volume-local-mapping.svg)](https://travis-ci.org/hectorqin/docker-volume-local-mapping)\n\n## Usage\n\n\n1 - Install the plugin\n\n```\n$ docker plugin install hectorqin/local-mapping\n\n# or to enable debug\ndocker plugin install hectorqin/local-mapping DEBUG=1\n\n# or to change where plugin state is stored\ndocker plugin install hectorqin/local-mapping state.source=\u003cany_folder\u003e\n\n# or to change where local folder is stored\n# when create volme, make sure the path is relative to the root.source,  the real path is root.source + mountpoint(args)\ndocker plugin install hectorqin/local-mapping root.source=\u003cany_folder\u003e\n```\n\n2 - Create a volume\n\n```\n$ docker volume create -d hectorqin/local-mapping -o mountpoint=/path/to/folder local-volume\nlocal-volume\n$ docker volume ls\nDRIVER              VOLUME NAME\nlocal               e1496dfe4fa27b39121e4383d1b16a0a7510f0de89f05b336aab3c0deb4dda0e\nhectorqin/local-mapping:latest   local-volume\n\n```\n\n3 - Use the volume\n\n```\n$ docker run -it -v local-volume:\u003cpath\u003e busybox ls \u003cpath\u003e\n```\n\n## example\n\n\n```\ndocker volume create -d hectorqin/local-mapping -o mountpoint=/tmp tmp\n```\n\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhectorqin%2Fdocker-volume-local-mapping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhectorqin%2Fdocker-volume-local-mapping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhectorqin%2Fdocker-volume-local-mapping/lists"}