Tools, FAQ, Tutorials:
"docker-compose" - Deploy Orderer to Docker
How to deploy Orderer peer to Docker using the "docker-compose" command?
✍: FYIcenter.com
You can follow this tutorial to
deploy Orderer peer to Docker using the "docker-compose" command.
1. Verify required files for the Orderer peer:
$ cd fabric-orderer $ ls -l -rw-rw-r-- 1 fyicenter 935 Apr 1 02:23 docker-compose-orderer.yaml -rw-r--r-- 1 fyicenter 12980 Apr 1 02:13 genesis.block drwxr-xr-x 5 fyicenter 4096 Apr 1 21:12 msp
2. Check for any existing Docker container named as orderer.example.com. If exists, remove it.
$ docker ps -a | grep orderer.example.com
3. Run "docker-compose" command:
$ docker-compose -f docker-compose-orderer.yaml up -d --no-deps Creating network "fabric-orderer_hello" with the default driver Creating volume "fabric-orderer_orderer.example.com" with default driver Creating orderer.example.com ... done
4. Check the Docker container status:
$ docker ps -a | grep orderer.example.com hyperledger/fabric-orderer:amd64-1.4.0 Exited (1) 1 minutes ago orderer.example.com
As you can see, the Orderer peer terminated with some error. See the next tutorial on how to troubleshoot the issue.
Â
⇒ "could not load a valid signer certificate" Error
⇠docker-compose-orderer.yaml - Docker Configuration
⇑ Setting Up Orderer Peer Manually
⇑⇑ Hyperledger Tutorials
2019-08-23, 787👍, 0💬
Popular Posts:
How to use the JSON to XML Conversion Tool at freeformatter.com? If you want to try the JSON to XML ...
Where to find tutorials on Python programming language? I want to learn Python. Here is a large coll...
How to use "{{...}}" Liquid Codes in "set-body" Policy Statement? The "{{...}}" Liquid Codes in "set...
What are the differences of Differences of evaluateTransaction() and submitTransaction() of the fabr...
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follo...