Skip to content

Running in Docker

caktux edited this page Nov 6, 2015 · 11 revisions

Running in Docker

We keep a Docker image with recent snapshot builds from the develop branch on DockerHub. Run this first:

docker pull ethereum/client-go

Start a node with:

docker run -it -p 30303:30303 ethereum/client-go

To start a node that runs the JSON-RPC interface on port 8545, run:

docker run -it -p 8545:8545 -p 30303:30303 ethereum/client-go --rpc --rpcaddr "0.0.0.0"

WARNING: This opens your container to external calls

To use the interactive JavaScript console, run:

docker run -it -p 30303:30303 ethereum/client-go console
Clone this wiki locally