Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/robin-rpr/docker-mount-sshfs

Docker Container to mount directories via SSHFS
https://github.com/robin-rpr/docker-mount-sshfs

docker fuse mount sshfs

Last synced: about 2 months ago
JSON representation

Docker Container to mount directories via SSHFS

Awesome Lists containing this project

README

        

**Status:** Experimental (only for development, expect crashes)
docker-mount-sshfs

# Docker Mount SSHFS
Mount SSHFS on the host with a container.

Command executed in the container:

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

## Usage

```bash
docker create --name=sshfs \
-e PUID= \
-e PGID= \
-e TZ= \
-e SSHFS_HOST="@:" \
-e SSHFS_OPTS="-p -o IdentityFile=/config/ -o noatime -o reconnect" \
--cap-add=SYS_ADMIN \
--device=/dev/fuse \
-v :/config \
-v :/mnt:shared \
ghcr.io/robin-rpr/docker-mount-sshfs:1.0.1
```

```bash
docker start sshfs
```