goledgerdev / goledger-challenge Goto Github PK
View Code? Open in Web Editor NEWChallenge repo for back-end candidate selection
Challenge repo for back-end candidate selection
I'm following the steps provided on README but there was an error
when trying to instantiate the chain code:
Instantiate the chaincode:
root@f2d3b8665efe:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer chaincode instantiate \
-o orderer.example.com:7050 \
--tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem \
-C mychannel \
-n fabcar \
-v 1.0 \
-c '{"Args":["init"]}'
Error:
2021-10-07 13:12:53.105 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc
2021-10-07 13:12:53.106 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default vscc
Error: could not assemble transaction, err proposal response was not successful, error code 500,
msg error starting container: error starting container: Post http://unix.sock/containers/create?
name=dev-peer0.org1.example.com-fabcar-1.0: dial unix /host/var/run/docker.sock: connect: no such file or directory
I've searched on the web but I couldn't find much.
I'm using macOS Big Sur 11.5.2, and Docker 4.1.0 .
It seems to be a Docker problem, related to that version on macOS. At StackOverflow someone said they had
to downgrade Docker to version 2, and then it worked.
If anyone has a workaround, please let me know.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.