{"id":13547029,"url":"https://github.com/vieux/docker-volume-sshfs","last_synced_at":"2025-04-02T19:32:19.771Z","repository":{"id":34215819,"uuid":"38073979","full_name":"vieux/docker-volume-sshfs","owner":"vieux","description":"sshfs docker volume plugin","archived":true,"fork":false,"pushed_at":"2021-06-18T11:58:50.000Z","size":1089,"stargazers_count":592,"open_issues_count":44,"forks_count":104,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-03T15:38:26.654Z","etag":null,"topics":["docker","docker-volume-plugin","sshfs"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vieux.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}},"created_at":"2015-06-25T21:01:09.000Z","updated_at":"2024-11-03T01:26:40.000Z","dependencies_parsed_at":"2022-07-24T18:02:26.197Z","dependency_job_id":null,"html_url":"https://github.com/vieux/docker-volume-sshfs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vieux%2Fdocker-volume-sshfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vieux%2Fdocker-volume-sshfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vieux%2Fdocker-volume-sshfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vieux%2Fdocker-volume-sshfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vieux","download_url":"https://codeload.github.com/vieux/docker-volume-sshfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246880177,"owners_count":20848819,"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":["docker","docker-volume-plugin","sshfs"],"created_at":"2024-08-01T12:00:49.786Z","updated_at":"2025-04-02T19:32:18.070Z","avatar_url":"https://github.com/vieux.png","language":"Go","readme":"# Docker volume plugin for sshFS\n\nThis plugin allows you to mount remote folder using sshfs in your container easily.\n\n[![TravisCI](https://travis-ci.org/vieux/docker-volume-sshfs.svg)](https://travis-ci.org/vieux/docker-volume-sshfs)\n[![Go Report Card](https://goreportcard.com/badge/github.com/vieux/docker-volume-sshfs)](https://goreportcard.com/report/github.com/vieux/docker-volume-sshfs)\n\n## Usage\n\n### Using a password\n\n1 - Install the plugin\n\n```\n$ docker plugin install vieux/sshfs\n\n# or to enable debug \ndocker plugin install vieux/sshfs DEBUG=1\n\n# or to change where plugin state is stored\ndocker plugin install vieux/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 vieux/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\nvieux/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 vieux/sshfs sshkey.source=/home/\u003cuser\u003e/.ssh/\n\n# or to enable debug \ndocker plugin install vieux/sshfs DEBUG=1 sshkey.source=/home/\u003cuser\u003e/.ssh/\n\n# or to change where plugin state is stored\ndocker plugin install vieux/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 was exists***.\n\u003e \n\u003e Or you'll be failed while use/mount the volume.\n\n```\n$ docker volume create -d vieux/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\nvieux/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","funding_links":[],"categories":["Go","Apps"],"sub_categories":["Network"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvieux%2Fdocker-volume-sshfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvieux%2Fdocker-volume-sshfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvieux%2Fdocker-volume-sshfs/lists"}