forked from nanocurrency/nano-node
-
Notifications
You must be signed in to change notification settings - Fork 52
Running a Docker Bananode
renesq edited this page Apr 7, 2018
·
13 revisions
The easiest way to run a node is by using our docker images. First install docker-ce.
Once docker is installed for your platform (check via docker run hello-world
), to run a bananode, simply run:
sudo docker run -d -p 7072:7072 -v ~:/root bananocoin/banano
You can then check your node as would normally, e.g. using curl
.
Run docker ps
to list running containers. Use the CONTAINER_ID to shut down the bananode, e.g.
sudo docker stop 19d845535dc1
$ sudo docker run -d -p 7072:7072 -v ~:/root bananocoin/banano
Unable to find image 'bananocoin/banano:latest' locally
latest: Pulling from bananocoin/banano
22dc81ace0ea: Pull complete
1a8b3c87dba3: Pull complete
91390a1c435a: Pull complete
07844b14977e: Pull complete
b78396653dae: Pull complete
9a359b47c2fa: Pull complete
082ef437d263: Pull complete
b808a9115179: Pull complete
34e529540e96: Pull complete
Digest: sha256:d713883a740222d6a5e5c473f34b474c985670768c5a7004c99573e6659d9475
Status: Downloaded newer image for bananocoin/banano:latest
19d845535dc1c3e9b4af0e69d46691e9c95340ed7afc86bb3d6531b102dca474
$