0

I was trying to setup Besu private network using this tutorial https://github.com/Consensys/besu-qbft-docker .

Steps to reproduce :

  1. Pulled code in vs code.
  2. ran docker-compose up

My Environment (Windows).

Error faced : Error response from daemon: error while mounting volume '/var/lib/docker/volumes/besu-qbft-docker_validator1-data/_data': failed to mount local volume: mount /data/validator1:/var/lib/docker/volumes/besu-qbft-docker_validator1-data/_data, flags: 0x1000, data: nolock,soft,uid=1000,gid=1000: no such file or directory

Same steps as mentioned in the tutorial and expected same outcome.

1 Answer 1

0

The docker-compose file is misconfigured. The $PWD is meant to represent the current working directory, but should be surrounded by brackets. Change each relevant line under the volumes: section to be as such:

${PWD}/${VALIDATOR1_DATA_PATH}

Then try running docker compose up from the root of the directory again!

Sign up to request clarification or add additional context in comments.

1 Comment

I have already tried this before, it still outputs the same error

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.