================
Docker image that runs the SkeinCurrency node in a container for easy deployment.
One liner for Ubuntu 18.04 LTS machines with JSON-RPC enabled on localhost and adds upstart init script:
curl https://raw.githubusercontent.com/skeincurrency/node/master/bootstrap-host.sh | sh -s bionic
dashd-data volume to persist the dashd blockchain data, should exit immediately. The dashd-data container will store the blockchain when the node container is recreated (software upgrade, reboot, etc): docker volume create --name=skeincurrency-data
docker run -v skeincurrency-data:/root/.skeincoin --name=skeincurrency-node -d \
-p 127.0.0.1:9332:9332 \
-p 34350:34350 \
-p 127.0.0.1:28332:28332 \
skeincurrency/node
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f5037029a36d skeincurrency/node "/bin/sh -c 'exec sk…" 8 seconds ago Up 7 seconds 127.0.0.1:9332->9332/tcp, 127.0.0.1:28332->28332/tcp, 127.0.0.1:34350->34350/tcp skeincurrency-node
docker logs -f skeincurrency-node
init directory. $ touch skeincoin.conf && nano skeincoin.conf
rpcpassword=rpc_skeincoin
rpcport=9332
rpcallowip=0.0.0.0/24
listen=1
server=1
txindex=1
addressindex=1
timestampindex=1
spentindex=1
addnode=node.skeinetwork.dev
zmqpubrawtx=tcp://0.0.0.0:28332
zmqpubrawtxlock=tcp://0.0.0.0:28332
zmqpubhashblock=tcp://0.0.0.0:28332
zmqpubhashtx=tcp://0.0.0.0:28332
zmqpubhashtxlock=tcp://0.0.0.0:28332
docker run \
-v skeincurrency-data:/root/.skeincoin \
-v skeincoin.conf:/root/.skeincoin/skeincoin.conf \
--name=skeincurrency-node -d \
--env TESTNET=1 \
-p 127.0.0.1:9332:9332 \
-p 34350:34350 \
-p 127.0.0.1:28332:28332 \
skeincurrency/node
Content type
Image
Digest
Size
453 MB
Last updated
almost 5 years ago
docker pull skeincurrency/node:1.0.0