Skip to content

Instantly share code, notes, and snippets.

@kylejeske
Created April 22, 2019 16:42
Show Gist options
  • Save kylejeske/16b811fd35445bed7cc5c218b9a6acb1 to your computer and use it in GitHub Desktop.
Save kylejeske/16b811fd35445bed7cc5c218b9a6acb1 to your computer and use it in GitHub Desktop.
Pre-reqs for running a Docker plugin to handle SSHFS
#!/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