Skip to content

Start a private Ethereum network with docker-compose to quickly get started with development

License

Notifications You must be signed in to change notification settings

thomasxnguy/docker-ethereum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethereum Docker

Provide a docker-compose allowing to quickly run a private Ethereum network as well as a monitoring dashboard for quick development.

I used the official golang implementation Geth as a base image for the node.

Genesis file has been generated using puppeth with POA(Proof of Authority) consensus engine.

Getting started

Prerequisites

  • Docker and Docker Compose installed

To start

To run the Ethereum network, run the following:

$ docker-compose -f docker-compose.yml up -d

This will create a private Ethereum network composed of 2 nodes.

Get Enode Id

$ docker logs geth_node1 2>&1 | grep "enode:"
$ docker logs geth_node2 2>&1 | grep "enode:"

Each node won't be persisting data on disk. If you need to, uncomment the section in the docker-compose.yml

Monitoring

To access monitoring dashboard, visit http://localhost:3000/

About

Start a private Ethereum network with docker-compose to quickly get started with development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published