Open xelra opened 7 years ago
I wanted to use Docker to circumvent the lacking sshfs support for Windows. Unfortunately I get the following error when trying to install the plugin.
docker plugin install vieux/sshfs sshkey.source="C:\msys64\home\xelra\.ssh\id_ed25519" Plugin "vieux/sshfs" is requesting the following privileges: - network: [host] - mount: [/var/lib/docker/plugins/] - mount: [] - device: [/dev/fuse] - capabilities: [CAP_SYS_ADMIN] Do you grant the above permissions? [y/N] y latest: Pulling from vieux/sshfs 2381f72027fc: Download complete Digest: sha256:72c8cfd1a6eb02e6db4928e27705f9b141a2a0d7f4257f069ce8bd813784b558 Status: Downloaded newer image for vieux/sshfs:latest Error response from daemon: rpc error: code = Unknown desc = oci runtime error: container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \"rootfs_linux.go:57: mounting \\\"/run/docker/libcontainerd/eaaf9572db8cacd44d1e82d5758e2bdc0f7403e3fcdd5ea9d00211bf2b4e9888/C:\\\\\\\\msys64\\\\\\\\home\\\\\\\\xelra\\\\\\\\.ssh\\\\\\\\id_ed25519\\\" to rootfs \\\"/var/lib/docker/plugins/eaaf9571db8cacd44d1e82d5758e2bdc0f7403e3fcdd5ea9d00211bf2b4e9888/rootfs\\\" at \\\"/root/.ssh\\\" caused \\\"stat /run/docker/libcontainerd/eaaf9571db8cacd44d1e82d5758e2bdc0f7403e3fcdd5ea9d00211bf2b4e9888/C:\\\\\\\\msys64\\\\\\\\home\\\\\\\\xelra\\\\\\\\.ssh\\\\\\\\id_ed25519: no such file or directory\\\"\""
Had same error. Under Windows 7 with Docker Toolbox (Docker 17.10-CE) I got it successfully installed by: docker plugin install vieux/sshfs sshkey.source=/c/Users/myuser/id_rsa
docker plugin install vieux/sshfs sshkey.source=/c/Users/myuser/id_rsa
My problem was that Docker Toolbox mounts only C:\Users into Virtualbox
I wanted to use Docker to circumvent the lacking sshfs support for Windows. Unfortunately I get the following error when trying to install the plugin.