Comments (8)
It looks like Docker Hub may not have a hyperledger/fabric-nodeenv
image for your OS and architecture. Can you try cloning Hyperledger Fabric (https://github.com/hyperledger/fabric) and building images from source (run make docker
)? This is mentioned in the book, I believe in Chapter 4. The Docker images should be built and available on your system. Then go back to the instructions in the book to set up the network and start the apps.
from trade-network.
Hi VRamakrishna,
After issue make docker in ../fabric folder, I still cannot see the image hyperledger/fabric-nodeenv . Below are the list of when I run "docker images" command:
REPOSITORY TAG IMAGE ID CREATED SIZE
hyperledger/fabric-orderer 2.3 b5bca85605ba 4 days ago 33.4MB
hyperledger/fabric-orderer 2.3.3 b5bca85605ba 4 days ago 33.4MB
hyperledger/fabric-orderer arm64-2.3.3-snapshot-99553020d b5bca85605ba 4 days ago 33.4MB
hyperledger/fabric-orderer latest b5bca85605ba 4 days ago 33.4MB
hyperledger/fabric-baseos 2.3 6689daf2e6fa 4 days ago 6.67MB
hyperledger/fabric-baseos 2.3.3 6689daf2e6fa 4 days ago 6.67MB
hyperledger/fabric-baseos arm64-2.3.3-snapshot-99553020d 6689daf2e6fa 4 days ago 6.67MB
hyperledger/fabric-baseos latest 6689daf2e6fa 4 days ago 6.67MB
hyperledger/fabric-tools 2.3 3f1356f21455 8 weeks ago 872MB
hyperledger/fabric-tools 2.3.3 3f1356f21455 8 weeks ago 872MB
hyperledger/fabric-tools arm64-2.3.3-snapshot-99553020d 3f1356f21455 8 weeks ago 872MB
hyperledger/fabric-tools latest 3f1356f21455 8 weeks ago 872MB
hyperledger/fabric-peer 2.3 c76579345a25 8 weeks ago 775MB
hyperledger/fabric-peer 2.3.3 c76579345a25 8 weeks ago 775MB
hyperledger/fabric-peer arm64-2.3.3-snapshot-99553020d c76579345a25 8 weeks ago 775MB
hyperledger/fabric-peer latest c76579345a25 8 weeks ago 775MB
hyperledger/fabric-ccenv 2.3 b49770c153cb 2 months ago 496MB
hyperledger/fabric-ccenv 2.3.3 b49770c153cb 2 months ago 496MB
hyperledger/fabric-ccenv arm64-2.3.3-snapshot-99553020d b49770c153cb 2 months ago 496MB
hyperledger/fabric-ccenv latest b49770c153cb 2 months ago 496MB
from trade-network.
Ah.....the Fabric repository only contains build support for Golang chaincode containers (fabric-ccenv
).
For fabric-nodeenv
, I think you'll need to clone https://github.com/hyperledger/fabric-chaincode-node, cd to docker/fabric-nodeenv
and build the image locally from the Dockerfile
(I typically run docker build -t .
). Try this and see if the image gets built.
from trade-network.
Hi VRamakrishna,
What is exact command to build the image locally from the Dockerfile ?
E.g I cloned https://github.com/hyperledger/fabric-chaincode-node, then:
cd /Users/phamquoctrung/go/src/github.com/hyperledger/fabric-chaincode-node/docker/fabric-nodeenv
????
from trade-network.
I mentioned it in my earlier comment: docker build -t .
from trade-network.
Hi VRamakrishna,
There is error:
docker build -t .
invalid argument "." for "-t, --tag" flag: invalid reference format
See 'docker build --help'.
from trade-network.
@gnurtcouq
were you able to fix the problem?
There is error:
docker build -t . invalid argument "." for "-t, --tag" flag: invalid reference format See 'docker build --help'.
from trade-network.
@gnurtcouq My mistake, -t
was the wrong switch (that's for specifying the tag). For help on docker image building, see https://docs.docker.com/engine/reference/commandline/build/. I hope you were able to resolve your problem. Since this issue has been inactive for several months, I will close it. Please reopen it if you need to.
from trade-network.
Related Issues (13)
- Unable to establish Trade network - Chapter 4 HOT 4
- Unable to establish Trade network - Chapter 4
- reset option not recognized by trade.sh script HOT 3
- Chapter 4 - utils directory is referenced as scripts directory HOT 3
- Channels not shown HOT 6
- "Client sent an HTTP request to an HTTPS server." HOT 1
- Error connecting to environment Trade work HOT 2
- Error connecting to Trade Network HOT 2
- M1 MacBook - unable to "make docker" when preparing the network (chapter 4, page 129) HOT 2
- Unable to see the functions of a smart contract after deploying (on VS code) HOT 19
- Windows Support HOT 12
- M1 Mac Support HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trade-network.