- BSC链github地址:https://github.com/binance-chain/bsc
- 主网浏览器:https://bscscan.com/
- 主网链官方部署文档:https://docs.binance.org/smart-chain/developer/fullnode.html
- 私有链官方部署文档:https://docs.binance.org/smart-chain/developer/deploy/local.html
一. BSC主链镜像生成
docker pull buildpack-deps:jessie-curl
# vim Dockerfile
FROM buildpack-deps:jessie-curl
RUN mkdir /data
RUN wget -P /usr/local/bin/ https://github.com/binance-chain/bsc/releases/download/v1.0.7/geth_linux && mv /usr/local/bin/geth_linux /usr/local/bin/geth && chmod +x /usr/local/bin/geth
EXPOSE 8545 30303
WORKDIR /data
ENTRYPOIN