1
0
mirror of https://github.com/falk-werner/webfuse-example synced 2024-10-27 20:44:09 +00:00
Go to file
2020-03-09 18:13:37 +01:00
www updated to webfuse 0.2.0 2020-03-01 21:09:41 +01:00
.travis.yml fix: fixed docker build command 2020-02-09 20:29:54 +01:00
Dockerfile updated to webfused 0.1.0 2020-03-09 18:13:37 +01:00
LICENSE Initial commit 2020-02-09 19:02:29 +01:00
README.md updated to webfuse 0.2.0 2020-03-01 21:09:41 +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 \
  webfuse bash
webfused -m /tmp -d /var/www -p 8080

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/default/hello.txt