Quick docker setup for a privatechain node that auto mines
Uses: https://github.com/amacneil/gethdev with a fix since for the initial run without a coinbase account (Will be rolling my own for customization)
docker run --name=geth -p 127.0.0.1:8545:8545 -d connormac/geth-dev-node
The easiest is to just unlock the coinbase account indefinetly. To unlock:
docker exec -it geth /bin/sh
geth attach "/tmp/geth.ipc"
web3.personal.unlockAccount(eth.coinbase, '', 0)