Sign inSign up

microwww/ethereum

By microwww

•Updated almost 5 years ago

Ethereum help , And private network chain for develop

Image
0

7.2K

microwww/ethereum repository overview

⁠Description

All images is Base ethereum/client-go.

You can modify /root/.ethereum/OPTIONS file to change run geth ... arguments

⁠Private network chain

All version *-dev is auto generate init block, Not need --dev simple RUN :

docker run -d --name ethereum-node -v /data/ethereum:/root \
           -p 8545:8545 -p 8546:8546 -p 30303:30303 \
           microwww/ethereum:1.8.23-dev

The dockerfile version, create genesis block with command geth init . Using docker HEALTHCHECK instruction to run mining.sh each 10 seconds, in mining.sh file will run miner.start() . you can modify the frequency with ENV INTERVAL 55, 0-10 is 10S, 11-20 is 20S, and so on (this time is only in the ideal case, AND not sure the count each mining) to change the frequency to run miner.start().

Modify FROM ethereum/client-go:1.8.23-dev can to make other version .

⁠CODE

the source code in github⁠ https://github.com/microwww/docker-virtual-coin

Tag summary

Content type

Image

Digest

Size

21.2 MB

Last updated

over 6 years ago

docker pull microwww/ethereum