Get started creating Ethereum development and multi-node clusters rapidly using Docker.
We provide full Ethereum test nodes (using the Ethereum Go client with all APIs enabled by default as well as a monitoring dashboard (for the cluster version) provided via Netstats.
To run an Ethereum Docker cluster run the following:
$ docker-compose up -d
By default this will create:
- 1 Ethereum Bootstrapped container
- 3 Ethereum container (which connects to the bootstrapped container on launch)
- 1 Netstats container (with a Web UI to view activity in the cluster)
To access the Netstats Web UI:
open http://$(docker-machine ip default):3000
As part of the bootstrapping process we bootstrap 10 Ethereum accounts for use only 3 are pre pre-filled with 20 Ether for use in transactions by default.
If you want to change the amount of Ether for those accounts
See files/genesis.json
.
To get attached to the geth
JavaScript console on the node you can run the following
docker exec -it {"CONTAINER ID"} geth attach ipc://root/.ethereum/devchain/geth.ipc
See the Javascript Runtime docs for more.