|
|
|
@ -1,17 +1,17 @@
|
|
|
|
|
# seegno/bitcoind
|
|
|
|
|
# ruimarinho/bitcoind
|
|
|
|
|
A bitcoind docker image.
|
|
|
|
|
|
|
|
|
|
[![seegno/bitcoind][docker-pulls-image]][docker-hub-url] [![seegno/bitcoind][docker-stars-image]][docker-hub-url] [![seegno/bitcoind][docker-size-image]][docker-hub-url] [![seegno/bitcoind][docker-layers-image]][docker-hub-url]
|
|
|
|
|
[![ruimarinho/bitcoind][docker-pulls-image]][docker-hub-url] [![ruimarinho/bitcoind][docker-stars-image]][docker-hub-url] [![ruimarinho/bitcoind][docker-size-image]][docker-hub-url] [![ruimarinho/bitcoind][docker-layers-image]][docker-hub-url]
|
|
|
|
|
|
|
|
|
|
## Supported tags and respective `Dockerfile` links
|
|
|
|
|
- `0.14.2`, `0.14`, `latest` ([0.14/Dockerfile](https://github.com/seegno/docker-bitcoind/blob/master/0.14/Dockerfile))
|
|
|
|
|
- `0.14.2-alpine`, `0.14-alpine` ([0.14/alpine/Dockerfile](https://github.com/seegno/docker-bitcoind/blob/master/0.14/alpine/Dockerfile))
|
|
|
|
|
- `0.13.2-alpine`, `0.13-alpine` ([0.13/alpine/Dockerfile](https://github.com/seegno/docker-bitcoind/blob/master/0.13/alpine/Dockerfile))
|
|
|
|
|
- `0.13.2`, `0.13` ([0.13/Dockerfile](https://github.com/seegno/docker-bitcoind/blob/master/0.13/Dockerfile))
|
|
|
|
|
- `0.12.1-alpine`, `0.12-alpine` ([0.12/alpine/Dockerfile](https://github.com/seegno/docker-bitcoind/blob/master/0.12/alpine/Dockerfile))
|
|
|
|
|
- `0.12.1`, `0.12` ([0.12/Dockerfile](https://github.com/seegno/docker-bitcoind/blob/master/0.12/Dockerfile))
|
|
|
|
|
- `0.11.2-alpine`, `0.11-alpine` ([0.11/alpine/Dockerfile](https://github.com/seegno/docker-bitcoind/blob/master/0.11/alpine/Dockerfile))
|
|
|
|
|
- `0.11.2`, `0.11` ([0.11/Dockerfile](https://github.com/seegno/docker-bitcoind/blob/master/0.11/Dockerfile))
|
|
|
|
|
- `0.14.2`, `0.14`, `latest` ([0.14/Dockerfile](https://github.com/ruimarinho/docker-bitcoind/blob/master/0.14/Dockerfile))
|
|
|
|
|
- `0.14.2-alpine`, `0.14-alpine` ([0.14/alpine/Dockerfile](https://github.com/ruimarinho/docker-bitcoind/blob/master/0.14/alpine/Dockerfile))
|
|
|
|
|
- `0.13.2-alpine`, `0.13-alpine` ([0.13/alpine/Dockerfile](https://github.com/ruimarinho/docker-bitcoind/blob/master/0.13/alpine/Dockerfile))
|
|
|
|
|
- `0.13.2`, `0.13` ([0.13/Dockerfile](https://github.com/ruimarinho/docker-bitcoind/blob/master/0.13/Dockerfile))
|
|
|
|
|
- `0.12.1-alpine`, `0.12-alpine` ([0.12/alpine/Dockerfile](https://github.com/ruimarinho/docker-bitcoind/blob/master/0.12/alpine/Dockerfile))
|
|
|
|
|
- `0.12.1`, `0.12` ([0.12/Dockerfile](https://github.com/ruimarinho/docker-bitcoind/blob/master/0.12/Dockerfile))
|
|
|
|
|
- `0.11.2-alpine`, `0.11-alpine` ([0.11/alpine/Dockerfile](https://github.com/ruimarinho/docker-bitcoind/blob/master/0.11/alpine/Dockerfile))
|
|
|
|
|
- `0.11.2`, `0.11` ([0.11/Dockerfile](https://github.com/ruimarinho/docker-bitcoind/blob/master/0.11/Dockerfile))
|
|
|
|
|
|
|
|
|
|
## What is bitcoind?
|
|
|
|
|
_from [bitcoinwiki](https://en.bitcoin.it/wiki/Bitcoind)_
|
|
|
|
@ -23,7 +23,7 @@ bitcoind is a program that implements the Bitcoin protocol for remote procedure
|
|
|
|
|
This image contains the main binaries from the Bitcoin Core project - `bitcoind`, `bitcoin-cli` and `bitcoin-tx`. It behaves like a binary, so you can pass any arguments to the image and they will be forwarded to the `bitcoind` binary:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
$ docker run --rm -it seegno/bitcoind \
|
|
|
|
|
$ docker run --rm -it ruimarinho/bitcoind \
|
|
|
|
|
-printtoconsole \
|
|
|
|
|
-regtest=1 \
|
|
|
|
|
-rpcallowip=172.17.0.0/16 \
|
|
|
|
@ -34,7 +34,7 @@ $ docker run --rm -it seegno/bitcoind \
|
|
|
|
|
By default, `bitcoind` will run as user `bitcoin` for security reasons and with its default data dir (`~/.bitcoin`). If you'd like to customize where `bitcoind` stores its data, you must use the `BITCOIN_DATA` environment variable. The directory will be automatically created with the correct permissions for the `bitcoin` user and `bitcoind` automatically configured to use it.
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
$ docker run --env BITCOIN_DATA=/var/lib/bitcoind --rm -it seegno/bitcoind \
|
|
|
|
|
$ docker run --env BITCOIN_DATA=/var/lib/bitcoind --rm -it ruimarinho/bitcoind \
|
|
|
|
|
-printtoconsole \
|
|
|
|
|
-regtest=1
|
|
|
|
|
```
|
|
|
|
@ -42,7 +42,7 @@ $ docker run --env BITCOIN_DATA=/var/lib/bitcoind --rm -it seegno/bitcoind \
|
|
|
|
|
You can also mount a directory it in a volume under `/home/bitcoin/.bitcoin` in case you want to access it on the host:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
$ docker run -v ${PWD}/data:/home/bitcoin/.bitcoin -it --rm seegno/bitcoind \
|
|
|
|
|
$ docker run -v ${PWD}/data:/home/bitcoin/.bitcoin -it --rm ruimarinho/bitcoind \
|
|
|
|
|
-printtoconsole \
|
|
|
|
|
-regtest=1
|
|
|
|
|
```
|
|
|
|
@ -51,22 +51,22 @@ You can optionally create a service using `docker-compose`:
|
|
|
|
|
|
|
|
|
|
```yml
|
|
|
|
|
bitcoind:
|
|
|
|
|
image: seegno/bitcoind
|
|
|
|
|
image: ruimarinho/bitcoind
|
|
|
|
|
command:
|
|
|
|
|
-printtoconsole
|
|
|
|
|
-regtest=1
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Image variants
|
|
|
|
|
The `seegno/bitcoind` image comes in multiple flavors:
|
|
|
|
|
The `ruimarinho/bitcoind` image comes in multiple flavors:
|
|
|
|
|
|
|
|
|
|
### `seegno/bitcoind:latest`
|
|
|
|
|
### `ruimarinho/bitcoind:latest`
|
|
|
|
|
Points to the latest release available of Bitcoin Core. Occasionally pre-release versions will be included.
|
|
|
|
|
|
|
|
|
|
### `seegno/bitcoind:<version>`
|
|
|
|
|
### `ruimarinho/bitcoind:<version>`
|
|
|
|
|
Based on a slim Debian image, targets a specific version branch or release of Bitcoin Core (e.g. `0.14.0`, `0.14`).
|
|
|
|
|
|
|
|
|
|
### `seegno/bitcoind:<version>-alpine`
|
|
|
|
|
### `ruimarinho/bitcoind:<version>-alpine`
|
|
|
|
|
Based on Alpine Linux with Berkeley DB 4.8 (cross-compatible build), targets a specific version branch or release of Bitcoin Core (e.g. `0.14.0`, `0.14`).
|
|
|
|
|
|
|
|
|
|
## Supported Docker versions
|
|
|
|
@ -75,10 +75,10 @@ This image is officially supported on Docker version 1.12, with support for olde
|
|
|
|
|
## License
|
|
|
|
|
[License information](https://github.com/bitcoin/bitcoin/blob/master/COPYING) for the software contained in this image.
|
|
|
|
|
|
|
|
|
|
[License information](https://github.com/seegno/docker-bitcoind/blob/master/LICENSE) for the [seegno/docker-bitcoind](https://hub.docker.com/r/seegno/bitcoind) docker project.
|
|
|
|
|
[License information](https://github.com/ruimarinho/docker-bitcoind/blob/master/LICENSE) for the [ruimarinho/docker-bitcoind](https://hub.docker.com/r/ruimarinho/bitcoind) docker project.
|
|
|
|
|
|
|
|
|
|
[docker-hub-url]: https://hub.docker.com/r/seegno/bitcoind
|
|
|
|
|
[docker-layers-image]: https://img.shields.io/imagelayers/layers/seegno/bitcoind/latest.svg?style=flat-square
|
|
|
|
|
[docker-pulls-image]: https://img.shields.io/docker/pulls/seegno/bitcoind.svg?style=flat-square
|
|
|
|
|
[docker-size-image]: https://img.shields.io/imagelayers/image-size/seegno/bitcoind/latest.svg?style=flat-square
|
|
|
|
|
[docker-stars-image]: https://img.shields.io/docker/stars/seegno/bitcoind.svg?style=flat-square
|
|
|
|
|
[docker-hub-url]: https://hub.docker.com/r/ruimarinho/bitcoind
|
|
|
|
|
[docker-layers-image]: https://img.shields.io/imagelayers/layers/ruimarinho/bitcoind/latest.svg?style=flat-square
|
|
|
|
|
[docker-pulls-image]: https://img.shields.io/docker/pulls/ruimarinho/bitcoind.svg?style=flat-square
|
|
|
|
|
[docker-size-image]: https://img.shields.io/imagelayers/image-size/ruimarinho/bitcoind/latest.svg?style=flat-square
|
|
|
|
|
[docker-stars-image]: https://img.shields.io/docker/stars/ruimarinho/bitcoind.svg?style=flat-square
|
|
|
|
|