Created
April 22, 2019 16:42
-
-
Save kylejeske/16b811fd35445bed7cc5c218b9a6acb1 to your computer and use it in GitHub Desktop.
Pre-reqs for running a Docker plugin to handle SSHFS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
{ | |
set -xe | |
# on alpine linux 3.8 | |
# libfuse3.1+ required on linux | |
# https://github.com/libfuse/sshfs | |
# https://github.com/libfuse/libfuse | |
apk add fuse3 | |
modprobe fuse3 | |
docker plugin install vieux/sshfs --grant-all-permissions | |
docker plugin | |
exit 0; | |
} || echo "Error: $!."; exit 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment