Files
hubicfuse/docker_mount.sh
Scott Dutton 9f63998f2b Add docker
3 files are as follows

Dockerfile - the building of the image
docker-entrypoint.sh the command to run inside the container
docker_mount.sh   run the image

To mount you should just need the docker_mount.sh to run, this will
build and mount

You still need the ~/.hubicfuse file for creditinals
2018-11-12 23:08:19 +01:00

5 lines
213 B
Bash
Executable File

#!/bin/bash
docker build -t hubicfuse .
docker run -v ~/.hubicfuse:/root/.hubicfuse -v $(pwd)/hubic_mount:/mnt/hubic:shared --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined -it hubicfuse