This runs a container with private ethereum chain with some precreates accounts and preallocated balances. There are two ways to get the system running:
Use the build-image script to build the image from scratch or the following command:
docker build -t chrysalis/gethimage:1.2 .
The ethereum/keystore
folder contains the private keys that are preallocated with a lot of ether. All the accounts have the same password stored in the ethereum/geth.password
file.
Clone this repository and
docker-compose up -d
docker-compose --verbose -f docker-compose.yml up
docker stop $(docker ps -q -f
docker rm $(docker ps -aq -f)
The steps described in this thread :http://ethereum.stackexchange.com/questions/1516/how-can-i-completely-automate-a-docker-image-and-dockerfile-for-a-geth-test-netw
Fixed the issues while setting it up, added ethereum intelligent stats to check the gas consumption, etc.