The tilkal/multichain
images (see all available tags) come in two flavors:
-
bitnami/minideb
-based images2.0-alpha-2
latest
,1.0.4
-
microsoft/nanoserver
-based images2.0-alpha-2-nanoserver
latest-nanoserver
,1.0.4-nanoserver
/root/.multichain
for the minideb-based images.C:/Users/ContainerAdministrator/AppData/Roaming/MultiChain
for the Nano Server-based images.
Creating a blockchain named testchain
docker run --rm -v node1-data:<volume> --entrypoint multichain-util tilkal/multichain create testchain
Starting a node of a blockchain named testchain
docker run -v node1-data:<volume> tilkal/multichain testchain
Adding a node to an existing blockchain named testchain
docker run --rm -v node2-data:<volume> tilkal/multichain testchain@<node1-host>:<node1-port>
Granting access to a node added to a blockchain named testchain
from a running node
docker exec <node1-container> multichain-cli testchain grant <node2-address> connect,send,receive
Dockerfile
license information:
Copyright © 2017 Tilkal SAS MIT License
MultiChain license information:
Copyright © 2014-2017 Coin Sciences Ltd GPLv3
Portions copyright © 2009-2016 The Bitcoin Core developers
Portions copyright many others - see individual files