You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Falk Werner
e3344ba461
|
4 years ago | |
---|---|---|
www | 4 years ago | |
.travis.yml | 4 years ago | |
Dockerfile | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago |
README.md
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