项目作者: opsxcq

项目描述 :
Bitcoin Daemon server
高级语言: Dockerfile
项目地址: git://github.com/opsxcq/docker-bitcoind.git
创建时间: 2017-11-01T20:46:53Z
项目社区:https://github.com/opsxcq/docker-bitcoind

开源协议:

下载


Bitcoind on a docker container

Docker Pulls

logo

Bitcoind is a headless daemon, and also bundles a testing tool for the same daemon. It provides a JSON-RPC interface, allowing it to be controlled locally or remotely which makes it useful for integration with other software or in larger payment systems. Various commands are made available by the API.

Example usage

You need to pass 2 parameters via environment variables if you want to access the API, USER and PASSWORD. Those will be necessary to connect to the bitcoin daemon. Inside the container, the blockchain will be stored at /data/, so is a good idea to put this directory in a volume or map to a directory in the host machine.

  1. docker run \
  2. -e USER=user \
  3. -e PASSWORD=secret \
  4. -p 8332:8332 \
  5. -p 8333:8333 \
  6. -v "/blockchain:/data/" \
  7. strm/bitcoind