1
0
mirror of https://github.com/falk-werner/webfuse-example synced 2025-12-17 20:01:50 +00:00
Files
falk-werner_webfuse-example/README.md
2023-02-11 09:53:09 +01:00

1.6 KiB

Build Status

webfuse-example

Example of webfuse.

Note: This repository refers to webfuse-legacy. Since webfuse-legacy is out-dated, the repository is archived and will be removed in future.
Please leave an issue if you are still interested in this code.

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 \
  webfuse

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

Once connected, you can also display the provided filesystem inside the container.

cat /tmp/test/hello.txt

Logging

To view log messages from webfuse, open another terminal an conntect to the container.
Log files can be found in /var/log/socklog/daemon directory.

docker exec -it <container> bash
tail -f /var/log/socklog/daemon/current

Fellow Repositories

Further Reading