ff init command does not work
还没有人认领这个 Issue。
评估
调研方向
在安装 Docker Compose v2.14.2 的情况下复现 ff init ethereum,并跟踪 CLI 使用的 Docker Compose 版本检测逻辑。当已安装的 Compose 版本被识别且初始化过程通过版本检查继续进行时,该 issue 即完成。
由索引模型根据 Issue 内容生成。
描述
Hello,
I installed Firefly binary and cannot initiate a stack.
After inserting the stack name and the number of nodes on it via prompt, the CLI returns: "Error: no version for docker-compose has been detected". although I hvve Docker Compose installed on my local machine.
Here follows a printscreen of my terminal.
firefly$ docker-compose --version
Docker Compose version v2.14.2
firefly$ ff init ethereum
initializing new FireFly stack...
stack name: dev
You selected dev
number of members: 3
Error: no version for docker-compose has been detected
Usage:
ff init ethereum [stack_name] [member_count] [flags]
Flags:
--block-period int Block period in seconds. Default is variable based on selected blockchain provider. (default -1)
-c, --blockchain-connector string Blockchain connector to use. Options are: [evmconnect ethconnect] (default "evmconnect")
-n, --blockchain-node string Blockchain node type to use. Options are: [geth besu remote-rpc] (default "geth")
--chain-id int The chain ID - also used as the network ID (default 2021)
--contract-address string Do not automatically deploy a contract, instead use a pre-configured address
-h, --help help for ethereum
--remote-node-url string For cases where the node is pre-existing and running remotely
Global Flags:
--ansi string control when to print ANSI control characters ("never"|"always"|"auto") (default "auto")
--channel string Select the FireFly release channel to use. Options are: [stable head alpha beta rc] (default "stable")
--connector-config string The path to a yaml file containing extra config for the blockchain connector
--core-config string The path to a yaml file containing extra config for FireFly Core
-d, --database string Database type to use. Options are: [sqlite3 postgres] (default "sqlite3")
-e, --external int Manage a number of FireFly core processes outside of the docker-compose stack - useful for development and debugging
-p, --firefly-base-port int Mapped port base of FireFly core API (1 added for each member) (default 5000)
--ipfs-mode string Set the mode in which IFPS operates. Options are: [private public] (default "private")
-m, --manifest string Path to a manifest.json file containing the versions of each FireFly microservice to use. Overrides the --release flag.
--multiparty Enable or disable multiparty mode (default true)
--node-name stringArray Node name
--org-name stringArray Organization name
--prometheus-enabled Enables Prometheus metrics exposition and aggregation to a shared Prometheus server
--prometheus-port int Port for the shared Prometheus server (default 9090)
--prompt-names Prompt for org and node names instead of using the defaults
-r, --release string Select the FireFly release version to use. Options are: [stable head alpha beta rc] (default "latest")
--remote-node-deploy Enable or disable deployment of FireFly contracts on remote nodes
--request-timeout int Custom request timeout (in seconds) - useful for registration to public chains
--sandbox-enabled Enables the FireFly Sandbox to be started with your FireFly stack (default true)
-s, --services-base-port int Mapped port base of services (100 added for each member) (default 5100)
-t, --token-providers stringArray Token providers to use. Options are: [none erc1155 erc20_erc721] (default [erc20_erc721])
-v, --verbose verbose log output
Error: no version for docker-compose has been detected
firefly$
Does anyone know how to fix that issue? How to make Firefly recognize Docker Compose version?
- 主要语言
- Go
- 星标
- 66
- 派生
- 64
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hyperledger-firefly/cli 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
hyperledger-firefly/cli#357 ·
-
bug good first issue
难度 3/5 1-2 天 新手友好度 45/100
hyperledger-firefly/cli#343 · 1 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 25/100
hyperledger-firefly/cli#339 · 7 条评论 ·
-
bug Windows WSL
难度 3/5 1-2 天 新手友好度 25/100
hyperledger-firefly/cli#335 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
hyperledger-firefly/cli#334 · 2 条评论 ·
查看 hyperledger-firefly/cli 的全部 Issue
相似的 Issue
-
confirmed enhancement go
难度 2/5 1-3 小时 新手友好度 78/100
DennisVlaanderen/aerendil#154 ·
维护者通常 1 天内回复
-
Generated README and SKILL omit HTTP-transport security settings and what local data the CLI keeps未关闭
难度 2/5 1-3 小时 新手友好度 82/100
mvanhorn/cli-printing-press#5181 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 2 天内回复
-
难度 1/5 1-3 小时 新手友好度 83/100
Adyen/agent-marketplace#922 ·
维护者通常 1 天内回复
-
filer.remote.sync writes the S3 bucket-owner index (<buckets>/.system/owners/...) to remote storage未关闭
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复