英文:
How to figure out Hyperledger Fabric version from container images
问题
我有一个使用以下Docker镜像的Hyperledger Fabric实现(从Docker Compose文件中提取):
hyperledger/fabric-ca:1.5.5
hyperledger/fabric-orderer:2.4.5
hyperledger/fabric-peer:2.4.0
hyperledger/fabric-tools:2.4.5
假设我想要设置一个开发环境,我应该设置哪个Fabric版本?2.4.0?2.4.5?
我已经查看了官方文档发布的数据,但它没有说明使用哪些镜像。
英文:
I got a hyperledger fabric implementation that uses the following docker images (taken from docker-compose files):
hyperledger/fabric-ca:1.5.5
hyperledger/fabric-orderer:2.4.5
hyperledger/fabric-peer:2.4.0
hyperledger/fabric-tools:2.4.5
Let's say I want to set up a development environment, which fabric version should I set up? 2.4.0? 2.4.5?
I've gone through the official doc releases data, but it doesn't state which images its using.
答案1
得分: 1
All Fabric v2.4.x releases should have the same set of capability. The third digit is a patch release version, and indicates that bug fixes are included. Essentially semantic versioning.
我期望核心Fabric镜像的版本(除了CA之外)保持一致。因此,应使用完全相同的版本fabric-orderer、fabric-peer和fabric-tools。在您的情况下,全部版本为2.4.5。一般来说,我建议始终使用最新的补丁版本。
您可能会发现使用Fabric安装脚本下载最新的Fabric Docker镜像集合更容易,具体方法请参考此文档页面:
https://hyperledger-fabric.readthedocs.io/en/latest/install.html
英文:
All Fabric v2.4.x releases should have the same set of capability. The third digit is a patch release version, and indicates that bug fixes are included. Essentially semantic versioning.
I would expect the versions of the core Fabric images (other than the CA) to be consistent. So using exactly the same versions of fabric-orderer, fabric-peer and fabric-tools. In your case, all at version 2.4.5. In general I would suggest always using the latest patch release.
You might find it easier to download the latest set of Docker images for Fabric using the Fabric install script, as described on this documentation page:
https://hyperledger-fabric.readthedocs.io/en/latest/install.html
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论