如何从容器镜像中确定Hyperledger Fabric的版本

huangapple go评论51阅读模式
英文:

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

huangapple
  • 本文由 发表于 2023年3月7日 00:46:58
  • 转载请务必保留本文链接:https://go.coder-hub.com/75653560.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定