Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/robin-rpr/docker-mount-sshfs
- Owner: robin-rpr
- License: other
- Created: 2022-11-03T18:40:21.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-06T03:39:25.000Z (about 2 years ago)
- Last Synced: 2024-01-16T00:01:00.268Z (12 months ago)
- Topics: docker, fuse, mount, sshfs
- Language: Dockerfile
- Homepage: https://github.com/robin-rpr/docker-mount-sshfs/pkgs/container/docker-mount-sshfs
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Status:** Experimental (only for development, expect crashes)
# 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
```