Closed jonathan-yk-tan closed 7 years ago
same here
Correct. You can find all the needed images here: fabric-boilerplate docker hub. I will update the readme soon. Thanks to notice!
You missed this in the README:
Setting up Hyperledger
- go to
fabric-boilerplate/src/chaincode/vendor/github.com/hyperledger
- get the hyperledger code
git clone https://github.com/hyperledger-archives/fabric.git
- go into the fabric folder
cd fabric
- Switch to a seprate branch
git checkout v0.5-developer-preview
- run
bash scripts/provision/docker.sh 0.0.10
This will prepare a docker baseimage in which the chaincode will be launched and deployed. This process takes quite a while.
Even though, you do not need anymore to launch that script and generate the fabric-baseimage, as we uploaded the same version in our docker hub. I will add some instructions to pull and tag correctly all the images.
Peer nodes use the image "hyperledger/fabric:latest" for spawning chaincode containers. Had to tag the most stable image I have "yeasy/hyperledger:0.5-dp" to "hyperledger/fabric:latest" inorder for chaincode to be deployed successfully.