From ea5f2da39ad198e58107a79214419e31988c5e5a Mon Sep 17 00:00:00 2001 From: Anton Markelov Date: Tue, 24 Oct 2017 16:55:20 +1000 Subject: [PATCH] README: add docker RPC access docs (#15362) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a13476517..57b0ea92b 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,8 @@ docker run -d --name ethereum-node -v /Users/alice/ethereum:/root \ This will start geth in fast sync mode with a DB memory allowance of 512MB just as the above command does. It will also create a persistent volume in your home directory for saving your blockchain as well as map the default ports. There is also an `alpine` tag available for a slim version of the image. +Do not forget `--rpcaddr 0.0.0.0`, if you want to access RPC from other containers and/or hosts. By default, `geth` binds to the local interface and RPC endpoints is not accessible from the outside. + ### Programatically interfacing Geth nodes As a developer, sooner rather than later you'll want to start interacting with Geth and the Ethereum