docker-bitcoin-core/0.12
2016-02-18 23:41:54 +00:00
..
Dockerfile Use laanwj signature import on main run 2016-02-18 23:41:54 +00:00
README.md Add support for 0.12 2016-02-18 23:25:52 +00:00

seegno/bitcoind

A bitcoind docker image.

seegno/bitcoind seegno/bitcoind seegno/bitcoind seegno/bitcoind

What is bitcoind?

from bitcoinwiki

bitcoind is a program that implements the Bitcoin protocol for remote procedure call (RPC) use. It is also the second Bitcoin client in the network's history.

Usage

How to use this image

Create a Dockerfile in the root of application directory:

FROM seegno/bitcoind:0.12

Then simply run:

$ docker build -t bitcoind
$ docker run --rm -it bitcoind

This image behaves like a binary, so you can pass any arguments to the bitcoind command to start it as needed:

$ docker run --rm -it bitcoin \
  -datadir=/var/lib/bitcoind \
  -printtoconsole \
  -regtest=1 \
  -rest \
  -rpcallowip=172.17.0.0/16 \
  -rpcpassword=bar \
  -rpcuser=foo \
  -server

You can also mount a directory it in a volume under /var/lib/bitcoind in case you want to access it on the host:

$ docker run -v ${PWD}/data:/var/lib/bitcoind -it --rm bitcoin \
  -datadir=/var/lib/bitcoind \
  -printtoconsole \
  -regtest=1 \
  -rest \
  -rpcallowip=172.17.0.0/16 \
  -rpcpassword=bar \
  -rpcuser=foo \
  -server

Image Variants

The seegno/bitcoind image comes in a single flavor:

seegno/bitcoind:latest

Tag that points to the latest bitcoind release available.

seegno/bitcoind:<version>

Based on a slim Debian image, it targets a specific version branch of bitcoind (e.g. 0.12.x).

Supported docker versions

This image is officially supported on docker version 1.10, with support for older versions provided on a best-effort basis.

License

License information for the software contained in this image.

License information for the seegno/bitcoind docker project.