|
|
@ -14,7 +14,7 @@ A Docker configuration with sane defaults for running a full Bitcoin node. |
|
|
|
## Usage |
|
|
|
|
|
|
|
``` |
|
|
|
docker --name bitcoind run -v $HOME/.bitcoin:/data/.bitcoin -p 8333:8333 lukechilds/bitcoind |
|
|
|
docker run --name bitcoind -v $HOME/.bitcoin:/data/.bitcoin -p 8333:8333 lukechilds/bitcoind |
|
|
|
``` |
|
|
|
|
|
|
|
### JSON-RPC |
|
|
@ -28,7 +28,7 @@ docker exec -it bitcoind bitcoin-cli getnetworkinfo |
|
|
|
To access JSON-RPC from other services you'll also need to expose port 8332. You probably only want this available to localhost: |
|
|
|
|
|
|
|
``` |
|
|
|
docker --name bitcoind run -v $HOME/.bitcoin:/data/.bitcoin \ |
|
|
|
docker run --name bitcoind -v $HOME/.bitcoin:/data/.bitcoin \ |
|
|
|
-p 8333:8333 \ |
|
|
|
-p 127.0.0.1:8332:8332 \ |
|
|
|
lukechilds/bitcoind |
|
|
@ -48,7 +48,7 @@ All CLI arguments are passed directly through to bitcoind. |
|
|
|
You can use this to configure via CLI args without a config file: |
|
|
|
|
|
|
|
``` |
|
|
|
docker --name bitcoind run -v $HOME/.bitcoin:/data/.bitcoin \ |
|
|
|
docker run --name bitcoind -v $HOME/.bitcoin:/data/.bitcoin \ |
|
|
|
-p 8333:8333 \ |
|
|
|
-p 127.0.0.1:8332:8332 \ |
|
|
|
lukechilds/bitcoind -rpcuser=jonsnow -rpcpassword=ikn0wnothin |
|
|
@ -79,7 +79,7 @@ Eric Young and UPnP software written by Thomas Bernard. |
|
|
|
Run a specific version of bitcoind if you want. |
|
|
|
|
|
|
|
``` |
|
|
|
docker --name bitcoind run -v $HOME/.bitcoin:/data/.bitcoin -p 8333:8333 lukechilds/bitcoind:v0.18.1 |
|
|
|
docker run --name bitcoind -v $HOME/.bitcoin:/data/.bitcoin -p 8333:8333 lukechilds/bitcoind:v0.18.1 |
|
|
|
``` |
|
|
|
|
|
|
|
## Build |
|
|
|