2020-01-03 23:04:16 +00:00
|
|
|
# With Docker
|
|
|
|
|
|
|
|
**Warning:** Experimental.
|
|
|
|
|
|
|
|
Use [Docker](https://www.docker.com/) to run Oasis in a container.
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
```shell
|
|
|
|
docker build --tag oasis --file contrib/Dockerfile .
|
|
|
|
docker volume create ssb
|
|
|
|
```
|
|
|
|
|
|
|
|
## Run
|
|
|
|
|
|
|
|
```
|
2020-05-10 20:49:24 +00:00
|
|
|
docker run --mount source=ssb,target=/home/node/.ssb --publish 127.0.0.0:3000:3000 --rm oasis
|
2020-01-03 23:04:16 +00:00
|
|
|
```
|
2020-05-10 20:49:24 +00:00
|
|
|
|
|
|
|
You should now be able to open http://localhost:3000 in your browser.
|