amacneil / docker-bitcoin

Bitcoin images for Docker
https://hub.docker.com/r/amacneil/bitcoin/
MIT License
52 stars 76 forks source link

please provide example of how to run bitcoin-cli against a containerised dockerd #2

Closed monkeypants closed 7 years ago

monkeypants commented 7 years ago

the container provides bitcoin, bitcoin-cli and bitcoin-tx, and by default runs bitcoind.

Assuming have bitcoind running in one container, it would be really helpful if you provide an example of how to connect to it from another container (e.g. bitcoin-cli) from another container on the same machine (e.g. docker run command).

amacneil commented 7 years ago

Thanks for pointing this out. I have added an example of using bitcoin-cli to the readme as part of https://github.com/amacneil/docker-bitcoin/issues/25