Dockerize Ethereum Network Intelligence API.
252
本專案說明如何透過 Dockerfile 建置 Ethereum Network Intelligence API Client。
首先 Clone 這個專案到 local 端:
$ git clone https://github.com/imac-cloud/docker-ethnetintel.git
然後,進入到目錄並執行以下指令開始建置映像檔:
$ cd docker-ethnetintel
$ docker build -t imaccloud/ethnetintel:0.0.1 .
自動建置的映像檔現在可以在 DockerHub 找到,也推薦透過這邊進行安裝。
$ docker pull imaccloud/ethnetintel:0.0.1
接著手動執行以下指令來啟動 eth-netintel 容器:
$ docker run -d -p 30303:30303 -p 30303:30303/udp -e NAME_PREFIX="geth-1" \
-e WS_SERVER="http://172.17.1.200:3000" -e WS_SECRET="admin" \
-e RPC_HOST="172.17.1.199" -e RPC_PORT="8545" \
--name ethnetintel imaccloud/ethnetintel:0.0.1
記得要開啟 eth-netstats,並輸入正確的
WS_SECRET。
Content type
Image
Digest
Size
264 MB
Last updated
over 10 years ago
docker pull imaccloud/ethnetintel:0.0.1