mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-18 16:05:10 +00:00
CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE is set to "byfn_default" but this network interface does not exist, resulting in an error when trying to instanciate chainecode. As the docker compose file is in the folder "first-network", docker will create a default network called "firstnetwork_default", so should change the env. variable accordingly. Other solution could be to define a custom network "byfn_default" in the docker-compose-cli.yaml file using top-level key "networks" (https://docs.docker.com/compose/networking/) |
||
|---|---|---|
| .. | ||
| base | ||
| chaincode/chaincode_example02 | ||
| channel-artifacts | ||
| scripts | ||
| byfn.sh | ||
| configtx.yaml | ||
| crypto-config.yaml | ||
| docker-compose-cli.yaml | ||
| docker-compose-couch.yaml | ||
| docker-compose-e2e-template.yaml | ||
| README.md | ||
Build Your First Network (BYFN)
The directions for using this are documented in the Hyperledger Fabric "Build Your First Network" tutorial.