Hi Pouya,

As you can see in the docker-compose-node1.yml file,

volumes:
- ../crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp:/var/hyperledger/msp
- ../crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls:/var/hyperledger/tls
- ../crypto-config/peerOrganizations/org1.example.com/users:/var/hyperledger/users
- ../channel-artifacts/:/var/hyperledger/configs

In my setup the docker compose files are placed inside deployment directory, and the crypto-config directory should be at the same level as deployment.

See whether it is the correct directory structure. If the directory structure is correct, then try to browser the directory of peer0.org1 container and see where the users directory is kept.

Also you can show me what’s inside the /var/hyperledger/ as there should be other directory such as msp and tls.

Reach me on kctam@ledgertech.biz and we can further look into the issue.

cheers, kc

Written by

Happy to share what I learn on blockchain. Visit http://www.ledgertech.biz/kcarticles.html for my works. or reach me on https://www.linkedin.com/in/ktam1/.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store