Docker Image Quickstart Guide

To quickstart Docker havend : docker run -v /my/folder/.haven:/home/haven/.haven havenprotocolorg/haven-cli:latest havend

/my/folder/.haven needs to have write permission to UID 100, GID 1000

-v indicates that you want to mount a volume /my/folder/.haven (it’s your data-dir locally)

The second part ( /home/haven/.haven is the mount point inside the docker container)

/home/haven/.haven/lmdb is a path inside the container. container is like a virtual machine, but lighter (actually strapped to your underlying OS, rather than installing another one on top)

If you want to run in an interactive session : docker run -ti -v /my/folder/.haven:/home/haven/.haven havenprotocolorg/haven-cli:latest havend

With a non interactive session : docker run -v /my/folder/.haven:/home/haven/.haven havenprotocolorg/haven-cli:latest havend --non-interactive

Detached mode : docker run -d -v /my/folder/.haven:/home/haven/.haven havenprotocolorg/haven-cli:latest havend --non-interactive

you can list the current running container with : docker ps

connect inside it with : docker exec -ti <container_id> sh

and stop it with : docker stop <container_id>

To bind port outside Docker : docker run -d -v /my/folder/.haven:/home/haven/.haven havenprotocolorg/haven-cli:latest havend --non-interactive --rpc-bind-ip 0.0.0.0 --confirm-external-bind

To bind the port on your host (so your deamon can be reached outside the host) : docker run -p17750:17750 -d -v /my/folder/.haven:/home/haven/.haven havenprotocolorg/haven-cli:latest havend --non-interactive --rpc-bind-ip 0.0.0.0 --confirm-external-bind

Previous Create a Paper Wallet
Next Blockchain Bootstrap
en_GBEnglish (UK)