Skip to content

Instantly share code, notes, and snippets.

@rafarocha
Created June 17, 2019 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafarocha/e7847f6ef9dc0872a0c413c53dc43a21 to your computer and use it in GitHub Desktop.
Save rafarocha/e7847f6ef9dc0872a0c413c53dc43a21 to your computer and use it in GitHub Desktop.
erro_init_geth_docker.md

Command

MacBook-Pro-de-Rafael:chainlink rocha$ docker run --name eth -p 8546:8546 -v ~/.geth-ropsten:/geth -it \
>            ethereum/client-go:stable --testnet --syncmode light --ws \
>            --wsaddr 0.0.0.0 --wsorigins="*" --datadir /geth

Log

WARN [06-17|14:33:14.419] Sanitizing cache to Go's GC limits       provided=1024 updated=329
INFO [06-17|14:33:14.427] Maximum peer count                       ETH=0 LES=100 total=25
INFO [06-17|14:33:14.444] Starting peer-to-peer node               instance=Geth/v1.8.27-stable-4bcc0a37/linux-amd64/go1.11.9
INFO [06-17|14:33:14.447] Allocated cache and file handles         database=/geth/geth/lightchaindata cache=164 handles=524288
INFO [06-17|14:33:14.651] Persisted trie from memory database      nodes=355 size=51.89kB time=12.011434ms gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [06-17|14:33:14.663] Initialised chain configuration          config="{ChainID: 3 Homestead: 0 DAO: <nil> DAOSupport: true EIP150: 0 EIP155: 10 EIP158: 10 Byzantium: 1700000 Constantinople: 4230000  ConstantinopleFix: 4939394 Engine: ethash}"
INFO [06-17|14:33:14.667] Disk storage enabled for ethash caches   dir=/geth/geth/ethash count=3
INFO [06-17|14:33:14.669] Disk storage enabled for ethash DAGs     dir=/root/.ethash     count=2
INFO [06-17|14:33:14.691] Added trusted checkpoint                 chain=testnet block=5308415 hash=5378af…cececc
INFO [06-17|14:33:14.695] Loaded most recent local header          number=0 hash=419410…ca4a2d td=1048576 age=50y2mo4d
INFO [06-17|14:33:14.807] UDP listener up                          net=enode://ecd481e206fd1118a15c7bf13a3f229043e67b186a89a847b081997a19240b9f23c9fbfe26f93100200ef9f8d5238fdf90aa7f6af0b59d646594eddac5b77df5@[::]:30303
WARN [06-17|14:33:14.819] Light client mode is an experimental feature 
INFO [06-17|14:33:14.831] Blockchain manager stopped 
INFO [06-17|14:33:14.833] Stopping light Ethereum protocol 
INFO [06-17|14:33:14.836] New local node record                    seq=5 id=8ceba032874eda7e ip=127.0.0.1 udp=30303 tcp=30303
INFO [06-17|14:33:14.838] Started P2P networking                   self=enode://ecd481e206fd1118a15c7bf13a3f229043e67b186a89a847b081997a19240b9f23c9fbfe26f93100200ef9f8d5238fdf90aa7f6af0b59d646594eddac5b77df5@127.0.0.1:30303
INFO [06-17|14:33:14.840] Light Ethereum protocol stopped 
INFO [06-17|14:33:14.842] Transaction pool stopped 
INFO [06-17|14:33:15.046] Database closed                          database=/geth/geth/lightchaindata
Fatal: Error starting protocol stack: listen unix /geth/geth.ipc: bind: operation not permitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment