okx / exchain

⛓️ EVM & Wasm $ IBC-compatible, OKTC is a L1 blockchain network built on top of Cosmos SDK that aims for optimal interoperability and performance ✨
https://www.okx.com/oktc
Other
574 stars 182 forks source link

Docker image not working #3191

Open breezytm opened 1 year ago

breezytm commented 1 year ago

Summary of Bug

exchaind in docker image is returning Illegal instruction (core dumped) error message for any parameter including --help

1. Describe

When trying to deploy a full node using okexchain/fullnode-mainnet:latest image I receive the following error messages

eoc-mainnet  | /root/start.sh: line 6:     7 Illegal instruction     (core dumped) exchaind init fullnode --chain-id exchain-66
eoc-mainnet  | Connecting to raw.githubusercontent.com (185.199.110.133:443)
eoc-mainnet  | wget: can't open '/root/.exchaind/config/genesis.json': No such file or directory
eoc-mainnet  | /root/start.sh: line 11:    10 Illegal instruction     (core dumped) exchaind start --chain-id exchain-66 --rest.laddr tcp://0.0.0.0:8545 --db_backend rocksdb

Expected Result

Successfully deploy a fleet of full nodes

Version

According to docker hub info, the latest image is on version 1.7.1 but the issue seems to have existed in previous version as well. The last working version seems to be v1.5.6

Steps to Reproduce

Mount the image and execute exchaind --help or any other command

In verson 1.7.1 docker image

image

In version 1.5.6 docker image

image

For Admin Use

giskook commented 1 year ago

Hi @breezytm, Please refer to this documention.

breezytm commented 1 year ago

Hi @breezytm, Please refer to this documention.

Thank you. Seems to be working now with the instructions.