{"id":13549130,"url":"https://github.com/ucphhpc/docker-volume-sshfs","last_synced_at":"2025-04-02T22:31:26.457Z","repository":{"id":97748610,"uuid":"114812253","full_name":"ucphhpc/docker-volume-sshfs","owner":"ucphhpc","description":"sshfs docker volume plugin","archived":false,"fork":true,"pushed_at":"2024-12-30T14:08:26.000Z","size":6406,"stargazers_count":31,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T15:20:36.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"vieux/docker-volume-sshfs","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ucphhpc.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}},"created_at":"2017-12-19T21:21:30.000Z","updated_at":"2024-12-30T14:08:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"d156e526-abc6-4e9a-9e25-94585a0602f1","html_url":"https://github.com/ucphhpc/docker-volume-sshfs","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucphhpc%2Fdocker-volume-sshfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucphhpc%2Fdocker-volume-sshfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucphhpc%2Fdocker-volume-sshfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ucphhpc%2Fdocker-volume-sshfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ucphhpc","download_url":"https://codeload.github.com/ucphhpc/docker-volume-sshfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246905105,"owners_count":20852812,"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":[],"created_at":"2024-08-01T12:01:18.576Z","updated_at":"2025-04-02T22:31:23.992Z","avatar_url":"https://github.com/ucphhpc.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Docker volume plugin for sshFS\n\nSee vieux/sshfs for original documentation\n\nThis plugin allows you to mount remote folder using sshfs in your container easily.\n\n## Usage\n\n### Using a password\n\n1 - Install the plugin\n\n```\n$ docker plugin install ucphhpc/sshfs\n\n# or to enable debug \ndocker plugin install ucphhpc/sshfs DEBUG=1\n\n# or to change where plugin state is stored\ndocker plugin install ucphhpc/sshfs state.source=\u003cany_folder\u003e\n```\n\n2 - Create a volume\n\n\u003e Make sure the ***source path on the ssh server was exists***.\n\u003e \n\u003e Or you'll be failed while use/mount the volume.\n\n```\n$ docker volume create -d ucphhpc/sshfs -o sshcmd=\u003cuser@host:path\u003e -o password=\u003cpassword\u003e [-o port=\u003cport\u003e] [-o \u003cany_sshfs_-o_option\u003e ] sshvolume\nsshvolume\n$ docker volume ls\nDRIVER              VOLUME NAME\nlocal               2d75de358a70ba469ac968ee852efd4234b9118b7722ee26a1c5a90dcaea6751\nlocal               842a765a9bb11e234642c933b3dfc702dee32b73e0cf7305239436a145b89017\nlocal               9d72c664cbd20512d4e3d5bb9b39ed11e4a632c386447461d48ed84731e44034\nlocal               be9632386a2d396d438c9707e261f86fd9f5e72a7319417901d84041c8f14a4d\nlocal               e1496dfe4fa27b39121e4383d1b16a0a7510f0de89f05b336aab3c0deb4dda0e\nucphhpc/sshfs         sshvolume\n```\n\n3 - Use the volume\n\n```\n$ docker run -it -v sshvolume:\u003cpath\u003e busybox ls \u003cpath\u003e\n```\n\n### Using an ssh key\n\n1 - Install the plugin\n\n```\n$ docker plugin install ucphhpc/sshfs sshkey.source=/home/\u003cuser\u003e/.ssh/\n\n# or to enable debug \ndocker plugin install ucphhpc/sshfs DEBUG=1 sshkey.source=/home/\u003cuser\u003e/.ssh/\n\n# or to change where plugin state is stored\ndocker plugin install ucphhpc/sshfs state.source=\u003cany_folder\u003e sshkey.source=/home/\u003cuser\u003e/.ssh/\n```\n\n2 - Create a volume\n\n\u003e Make sure the ***source path on the ssh server exists***.\n\u003e \n\u003e Or you will fail when you use/mount the volume.\n\n```\n$ docker volume create -d ucphhpc/sshfs -o sshcmd=\u003cuser@host:path\u003e [-o IdentityFile=/root/.ssh/\u003ckey\u003e] [-o port=\u003cport\u003e] [-o \u003cany_sshfs_-o_option\u003e ] sshvolume\nsshvolume\n$ docker volume ls\nDRIVER              VOLUME NAME\nlocal               2d75de358a70ba469ac968ee852efd4234b9118b7722ee26a1c5a90dcaea6751\nlocal               842a765a9bb11e234642c933b3dfc702dee32b73e0cf7305239436a145b89017\nlocal               9d72c664cbd20512d4e3d5bb9b39ed11e4a632c386447461d48ed84731e44034\nlocal               be9632386a2d396d438c9707e261f86fd9f5e72a7319417901d84041c8f14a4d\nlocal               e1496dfe4fa27b39121e4383d1b16a0a7510f0de89f05b336aab3c0deb4dda0e\nucphhpc/sshfs         sshvolume\n```\n\n3 - Use the volume\n\n```\n$ docker run -it -v sshvolume:\u003cpath\u003e busybox ls \u003cpath\u003e\n```\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucphhpc%2Fdocker-volume-sshfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fucphhpc%2Fdocker-volume-sshfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fucphhpc%2Fdocker-volume-sshfs/lists"}