0

I am trying to set up a privatte blockchain on my local system and while setting up the genesis block, I am receiving the following error -

Fatal: Failed to read genesis file: open /Ethereum/conf/genesis.json: no such file or directory

Of course, the file is there and I have set up the genesis config properly. The command I am running is -

docker run -it --rm --name geth -u $(id -u $USER):$(id -g $USER) -v /Ethereum:/root ethereum/client-go:alltools-v1.7.3 geth --datadir /Ethereum/data/ init /Ethereum/conf/genesis.json

I think this error happens due to docker not configured properly, because command outside of docker seems to be working fine

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.