Create docker images that run nodes for different cryptocurrencies.
To run the nodes, you need to first install docker
. Installation instructions are on their website.
For any of the currencies in the repo, run the following command in the appropriate directory:
docker build -t <image-name> .
For example, to create an image for Bitcoin the command will look like this:
docker build -t allofthecoins:bitcoin .
After the image is built run with:
docker run -d -p 8333 --name bitcoin allofthecoins:bitcoin
Without specifically exposing the the rpc port with -p 8332
the rpc interface is only available for the host and for other docker containers.
Bitcoin uses 8333
, 8332
. Bitcoin testnet uses 18333
, 18332
.