Last active
January 8, 2018 21:43
-
-
Save kevinejohn/f551e6e488b4046ac593f080ccb89c74 to your computer and use it in GitHub Desktop.
Run ethereum client on coreos docker image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run detatched client in the background | |
docker run -it --rm -d -p 8545:8545 -p 30303:30303 -v /root/.ethereum:/root/.ethereum --name geth ethereum/client-go | |
# Connect to client's console | |
docker run -it --rm -v /root/.ethereum:/root/.ethereum ethereum/client-go attach | |
# Testing contracts on testnet | |
docker run -it --rm -v /root/testnet3301/.ethash:/root/.ethash -v /root/script.js:/root/script.js ethereum/client-go --maxpeers 0 --nodiscover --networkid 3301 js /root/script.js 2>> geth.log | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment