Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The docker for XinFin can't start #142

Open
zhangqichuan opened this issue Jul 30, 2024 · 3 comments
Open

The docker for XinFin can't start #142

zhangqichuan opened this issue Jul 30, 2024 · 3 comments

Comments

@zhangqichuan
Copy link

xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1 | NETWORK env Must be set, mainnet/testnet/devnet

@gzliudan
Copy link
Collaborator

How to reproduce this error ?

@zhangqichuan
Copy link
Author

zhangqichuan commented Jul 30, 2024

Execute following commands:

git clone https://github.com/XinFinOrg/XinFin-Node.git
cd XinFin-Node
./setup/install_docker.sh
cd mainnet
cat   >.env<<EOF
INSTANCE_NAME=xxxxxxxtttttttttttttttttttt
[email protected]
NODE_TYPE=full 
EOF
docker-compose -f docker-compose.yml up 
mainnet_xinfinnetwork_1 is up-to-date
Attaching to mainnet_xinfinnetwork_1
xinfinnetwork_1  | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1  | NETWORK env Must be set, mainnet/testnet/devnet
xinfinnetwork_1  | NETWORK env Must be set, mainnet/testnet/devnet

@gzliudan
Copy link
Collaborator

gzliudan commented Jul 31, 2024

Please try to start with below commands:

cd XinFin-Node/mainnet

# modify file .env
vi .env

./docker-up.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants