updated to webfuse 0.2.0

pull/1/head
Falk Werner 4 years ago
parent b53ad97cd6
commit 646867ba3e

@ -92,12 +92,12 @@ RUN set -x \
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
ARG WEBFUSE_VERSION=master
ARG WEBFUSE_VERSION=0.2.0
RUN set -x \
&& builddir="/tmp/out" \
&& mkdir -p "$builddir" \
&& cd "$builddir" \
&& wget "https://github.com/falk-werner/webfuse/archive/${WEBFUSE_VERSION}.tar.gz" -O webfuse.tar.gz \
&& wget "https://github.com/falk-werner/webfuse/archive/v${WEBFUSE_VERSION}.tar.gz" -O webfuse.tar.gz \
&& tar -xf webfuse.tar.gz \
&& cd "webfuse-$WEBFUSE_VERSION" \
&& mkdir .build \

@ -9,7 +9,14 @@ Example of webfuse.
# Run
docker run -p 8080:8080 --rm -it --user "`id -u`" webfuse bash
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.
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

@ -1,7 +1,7 @@
import { BadState } from "./bad_state.js";
export class Client {
static get _PROTOCOL() { return "fs"; }
static get _PROTOCOL() { return "webfuse-adapter-server"; }
constructor(provider) {
this._provider = { };

Loading…
Cancel
Save