docker pull okexchain/fullnode-testnet:latest
You can download the testnet snapshot from here. For example:
// 1.download the snapshpot
wget -c https://ok-public-hk.oss-cn-hongkong.aliyuncs.com/cdn/okexchain/snapshot/okexchain-v0.16.8-testnet-20210305-height_1121961.tar.gz
// 2.generate data directory
mkdir -p ~/okexchain/testnet
// 3.unzip the snapshot to data directory
tar -zxvf okexchain-v0.16.8-testnet-20210305-height_1121961.tar.gz -C ~/okexchain/testnet/
docker run -d --name okexchain-testnet-fullnode -v ~/okexchain/testnet/data:/root/.okexchaind/data/ -p 8545:8545 okexchain/fullnode-testnet:latest
docker logs --tail 100 -f okexchain-testnet-fullnode
You can stop the docker container with command:
docker stop okexchain-testnet-fullnode, and then restart the docker container with command:docker start okexchain-testnet-fullnode. When the docker container gets to the latest block, local RPC can be used:http://localhost:8545
Content type
Image
Digest
sha256:f34fa0a6e…
Size
332.6 MB
Last updated
about 2 years ago
docker pull okexchain/fullnode-testnet