1
0
mirror of https://github.com/falk-werner/webfuse-example synced 2024-10-27 20:44:09 +00:00
Go to file
2020-04-11 11:14:28 +02:00
www use webfuse-js 2020-04-11 10:56:17 +02:00
.gitignore use webfuse-js 2020-04-11 10:56:17 +02:00
.travis.yml fix: fixed docker build command 2020-02-09 20:29:54 +01:00
Dockerfile fix: update packge before build 2020-04-11 11:14:28 +02:00
LICENSE Initial commit 2020-02-09 19:02:29 +01:00
README.md added fellow repositories 2020-04-11 08:35:12 +02:00
webfused.conf updated to webfused 0.2.0 2020-03-20 17:47:18 +01:00

Build Status

webfuse-example

Example of webfuse.

Build

docker build --rm --build-arg "USERID=`id -u`" --tag webfuse .

Run

docker run -p 8080:8080 --rm -it \
  --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined \
  --user `id -u` \
  webfuse bash
webfused -f /etc/webfused.conf

Open a webbrowser and visit http://localhost:8080 and follow the instruction on the screen.

Then open another terminal and connect to the container.

docker exec -it <name of container> bash
cat /tmp/test/hello.txt

Fellow Repositories

Further Reading