Git Product home page Git Product logo

Comments (8)

VRamakrishna avatar VRamakrishna commented on July 17, 2024

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.

gnurtcouq avatar gnurtcouq commented on July 17, 2024

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.

VRamakrishna avatar VRamakrishna commented on July 17, 2024

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.

gnurtcouq avatar gnurtcouq commented on July 17, 2024

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.

VRamakrishna avatar VRamakrishna commented on July 17, 2024

I mentioned it in my earlier comment: docker build -t .

from trade-network.

gnurtcouq avatar gnurtcouq commented on July 17, 2024

Hi VRamakrishna,

There is error:

docker build -t .
invalid argument "." for "-t, --tag" flag: invalid reference format
See 'docker build --help'.

from trade-network.

jdtProg avatar jdtProg commented on July 17, 2024

@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.

VRamakrishna avatar VRamakrishna commented on July 17, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.