1
0
mirror of https://github.com/falk-werner/webfuse-example synced 2024-10-27 20:44:09 +00:00
falk-werner_webfuse-example/README.md
2020-04-11 08:35:12 +02:00

1.2 KiB

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