Sign inSign up

horjulf/sshfs

By horjulf

Updated 4 days ago

Container providing SSHFS

Image
2

10K+

horjulf/sshfs repository overview

docker-sshfs

Mount SSHFS on the host with a container.

Command executed in the container:

  • sshfs -f ${SSHFS_HOST} ${SSHFS_MNT} ${SSHFS_OPTS}

Usage

docker create --name=sshfs \
    -e PUID=<uid> \
    -e PGID=<gid> \
    -e TZ=<timezone> \
    -e SSHFS_HOST="<user>@<host>:<path>" \
    -e SSHFS_OPTS="-p <port> -o IdentityFile=/config/<ssh_key> -o noatime -o reconnect" \
    --cap-add=SYS_ADMIN \
    --device=/dev/fuse \
    -v <config_path>:/config \
    -v <mnt_path>:/mnt:shared \
    horjulf/sshfs
docker start sshfs

Tag summary

Content type

Image

Digest

sha256:5df0a001e

Size

12 MB

Last updated

4 days ago

docker pull horjulf/sshfs