1
0
mirror of https://github.com/falk-werner/webfuse-example synced 2025-12-17 20:01:50 +00:00
Falk Werner 25edce8789 Merge pull request #1 from falk-werner/update_webfused
updated to webfused 0.2.0
2020-03-20 18:00:16 +01:00
2020-03-01 21:09:41 +01:00
2020-02-09 20:29:54 +01:00
2020-03-20 17:47:18 +01:00
2020-02-09 19:02:29 +01:00
2020-03-20 17:47:18 +01:00
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
Description
No description provided
Readme 57 KiB
Languages
JavaScript 56.5%
Dockerfile 29%
HTML 7.9%
CSS 5.1%
Shell 1.5%