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

Steps for Running Dogechain V2 Under Docker #67

Open
ymonye opened this issue Dec 9, 2023 · 2 comments · May be fixed by #69
Open

Steps for Running Dogechain V2 Under Docker #67

ymonye opened this issue Dec 9, 2023 · 2 comments · May be fixed by #69
Assignees
Labels
help wanted Extra attention is needed

Comments

@ymonye
Copy link

ymonye commented Dec 9, 2023

Hey all, what's the best way to run Dogechain V2 under Docker?

After cloning this repo, I'm building the Docker image using the provided Dockerfile:
docker build -t dogechain-lab/dbsc .

Here's how I used to run a Dogechain V1 archive node, back when it was still a Polygon Edge chain:

docker run -d -it --ulimit nofile=1000000:1000000 --restart unless-stopped --stop-timeout 300 --log-opt max-size=10m --name dogechain-mainnet -v /dogechain/dogechain/mainnet:/root -p 192.168.1.5:9632:9632 -p 1478:1478 -p 192.168.1.5:8545:8545 dogechainlab/dogechain:1.2.4 server --data-dir=/root --chain=/root/genesis.json --max-slots=40960 --grpc=0.0.0.0:9632 --libp2p=0.0.0.0:1478 --jsonrpc=0.0.0.0:8545 --max-inbound-peers=9000 --max-outbound-peers=9000 --enable-ws

I'm trying to run V2 with the below (with the new genesis), yet get an error message:

docker run --name dogechain-dbsc-mainnet -v /dogechain/dbsc/mainnet:/root dogechain-lab/dbsc --datadir=/root --genesis=/root/genesis.json --rpc.allow-unprotected-txns --rpccorsdomain=* --rangelimit --syncmode=full --gcmode=archive --txlookuplimit=0 --txpool.pricelimit=250000000000 --miner.gasprice=250000000000 --miner.gaslimit=30000000

cat: can't open '/bsc/config/config.toml': No such file or directory

Do I need to specify a config.toml file even if I don't plan to? If I do plan to use one, where can I even find an example config.toml file? I didn't at all see a template in the documentation. Would it have to be initialized?

Please advise on the correct way to run this under Docker, thanks!

Yannick

@DarianShawn DarianShawn added the help wanted Extra attention is needed label Dec 9, 2023
@ymonye
Copy link
Author

ymonye commented Jan 10, 2024

Bump

@0xcb9ff9
Copy link

0xcb9ff9 commented Jan 11, 2024

You need to remove the default ENTRYPOINT, add --entrypoint='/usr/local/bin/geth'

ps: dogechain v2 not push docker image, you need the dockerfile in the repository

@0xcb9ff9 0xcb9ff9 linked a pull request Jan 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants