Overview of Hyperledger Fabric Docker composer configuration files

Hyperledger Fabric utilizes Docker compose to define fabric application services. The docker-compose-cli.yaml service section is the place for defining all peer services and related containers. Hyperledger Fabric's first-network provides a .yaml template to help you quickly start to create yaml files from scratch:


In docker-compose-cli.yaml, we define the following information:

  • networks: Definition of the blockchain network name. In our case, it is icn
  • services: Definition of all peer services and related Docker containers
  • cli: Definition of the Cli container that is used to replace the SDK client, ...

Get Blockchain Development with Hyperledger now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.