From abd6f87ca84e24061e2ee81375db3ce6914bb11a Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Wed, 18 Dec 2019 12:59:48 +0700 Subject: [PATCH] Fix docker run examples --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ca0423b..d77e934 100644 --- a/README.md +++ b/README.md @@ -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