Docker deploys the Ethereum private chain v1.10.16 version

1. Ethereum private chain image generation

1.1 Download the Ethereum base image

docker pull  ethereum/client-go:v1.10.16

1.2 Write Dockerfile

# vim /opt/docker/images/geth-1.10.16/Dockerfile

FROM ethereum/client-go:v1.10.16

RUN apk update && apk add bash curl

ADD bin /root/bin
RUN chmod a+x /root/bin/*

ENTRYPOINT /root/bin/start.sh

<

Guess you like

Origin blog.csdn.net/cljdsc/article/details/123138783