ethereum
docker中运行ethereum go节点
- 安装ethereum(go version)的docker
docker pull ethereum:client-go
- 运行docker
sudo docker run -d --name wens-geth -v /mnt/main/wq/ethereum:/root/.ethereum -p 8588:8545 -p 30308:30303 ethereum/client-go --rpc --rpcaddr 0.0.0.0 --syncmode "fast" --cache=10240 --txpool.pricelimit 1 console
- 进入运行着的docker go节点
sudo docker run -it -v /mnt/main/wq/ethereum:/root/.ethereum ethereum/client-go attach
-------------本文结束感谢您的阅读-------------