Mount SSHFS on the host with a container.
Command executed in the container:
sshfs -f ${SSHFS_HOST} ${SSHFS_MNT} ${SSHFS_OPTS}
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