oasis/docs/with-docker.md
Christian Bundy a5d5e446c7 Refactor Docker example
Problem: The Docker example was using Alpine with the Tini dependency
and some neat custom stuff, but it wasn't super clear to understand
everything that was going on. It was also slow because lots of stuff was
compiling from source.

Solution: Replace neat custom stuff with boring defaults for clarity and
much faster builds.
2020-05-10 13:52:47 -07:00

395 B

With Docker

Warning: Experimental.

Use Docker to run Oasis in a container.

Build

docker build --tag oasis --file contrib/Dockerfile  .
docker volume create ssb

Run

docker run --mount source=ssb,target=/home/node/.ssb --publish 127.0.0.0:3000:3000 --rm oasis

You should now be able to open http://localhost:3000 in your browser.