hyperledger / firefly

Hyperledger FireFly is the first open source Supernode: a complete stack for enterprises to build and scale secure Web3 applications. The FireFly API for digital assets, data flows, and blockchain transactions makes it radically faster to build production-ready apps on popular chains and protocols.
https://hyperledger.github.io/firefly
Apache License 2.0
507 stars 208 forks source link

Creating a new stack yields: `Error: no version for docker-compose has been detected` #1522

Closed cradonn closed 5 months ago

cradonn commented 5 months ago

Following the walkthrough here: https://hyperledger.github.io/firefly/latest/tutorials/chains/fabric_test_network/

When trying to init a new stack with the following:

ff init fabric dev --ccp "/home/developer/org1_ccp.yml" --msp "organizations" --ccp "/home/developer/org2_ccp.yml" --msp "organizations" --channel mychannel --chaincode firefly

I get back: Error: no version for docker-compose has been detected

Not experiencing issues with docker / docker compose:

developer@devbox:~/fabric-samples/test-network$ ff init fabric dev --ccp "/home/developer/org1_ccp.yml" --msp "organizations" --ccp "/home/developer/org2_ccp.yml" --msp "organizations" --channel mychannel --chaincode firefly
initializing new FireFly stack...
Error: no version for docker-compose has been detected
Usage:
  ff init fabric [stack_name] [member_count] [flags]

Flags:
      --ccp stringArray      Path to the ccp.yaml file for an org in your Fabric network
      --chaincode string     The name given to the FireFly chaincode when it was deployed
      --channel string       The name of the Fabric channel on which the FireFly chaincode has been deployed
      --custom-pin-support   Configure the blockchain listener to listen for BatchPin events from any chaincode on the channel
  ........
  ........

Error: no version for docker-compose has been detected
developer@devbox:~/fabric-samples/test-network$ docker version
Client: Docker Engine - Community
 Version:           26.1.4
 API version:       1.45
 Go version:        go1.21.11
 Git commit:        5650f9b
 Built:             Wed Jun  5 11:28:57 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          26.1.4
  API version:      1.45 (minimum version 1.24)
  Go version:       go1.21.11
developer@devbox:~/fabric-samples/test-network$ docker-compose version
Docker Compose version v2.27.1