BYFN Chaincode Docker Container

Q

What is the BYFN chaincode Docker container?

✍: FYIcenter.com

A

The BYFN chaincode Docker container represents the running instance of the "mycc" chaincode.

When "mycc" chaincode is instantiated from peer0.org1, a chaincode Docker container (shim) is deployed and started on the Docker engine.

You can find chaincode containers with this command:

$ docker ps --all

IMAGE                                        STATUS       NAMES
dev-peer0.org1.example.com-mycc-1.0-7782...  Up 2 hours   dev-peer0.org1.example.com-mycc-1.0
dev-peer0.org2.example.com-mycc-1.0-7938...  Up 2 hours   dev-peer0.org2.example.com-mycc-1.0

You can stop it from running and start it again later:

$ docker stop dev-peer0.org1.example.com-mycc-1.0
dev-peer0.org1.example.com-mycc-1.0

$ docker star dev-peer0.org1.example.com-mycc-1.0
dev-peer0.org1.example.com-mycc-1.0

 

Uninstall Chaincode on BYFN Peers

Incompatible Chaincode on BYFN Peers

BYFN (Build Your First Network)

⇑⇑ Hyperledger Tutorials

2020-09-15, 312👍, 0💬