[dev tool] Peercoin docker container

This is project aimed at Peercoin developers and those who plan to get into blockchain development based on Peercoin.

https://hub.docker.com/r/peerchemist/peercoind

Why?

To make it easy for developer to get started with Peercoin and get access to working RPC interface in few minutes.
It makes it possible to run classic ppcoind, ppcoind in testnet mode and ppcoind-pars at the same time.
For example Pars node can be started with single docker command and you can get started with RPC commands for smart contracts in minutes.

Check hub.docker link above to read How to and other information about the container.


You can support development of this project or just thank me by donating to: https://peer4commit.com/projects/189

Hi,

I would like to use Docker image for peercoind version 0.8.3 but I’m running with issues. I built image with docker compose, peercoind seems to be running fine in container as I can get RPC commands with it but I cannot send curl command outside of container as error says : “curl: (52) Empty reply from server”

I’m using this command curl --user foo:bar --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockchaininfo", "params": [] }' -H 'content- type: text/plain;' localhost:9901/

Thanks for help

Alright find out why. Issue here (https://github.com/Requarks/wiki/issues/554). You need to expose ports into docker-compose as well. I though problem was from peercoind first but it’s only on configuration. I can now curl from my host :ok_hand:

1 Like