简体   繁体   English

Hyperledger Fabric:本机二进制文件与Docker映像

[英]Hyperledger Fabric: Native Binaries vs Docker Images

As far as I see from Hyperledger Fabric makefile, the compilation not only creates native binaries for peer and orderer but also creating docker images for peer and orderer. 据我从Hyperledger Fabric makefile中看到的那样,该编译不仅为对等方和订购者创建本机二进制文件,而且为对等方和订购者创建docker映像。 (peer vs peer-docker, orderer vs orderer-docker) (对等与对等docker,订购与对等docker)

What is the purpose of having both native binary and docker image? 同时拥有本机二进制文件和docker映像的目的是什么? Are these completing each other or just providing alternatives to each other? 它们是彼此完成还是只是提供替代方案?

They provide alternatives to each other. 它们彼此提供了替代方案。 You can use the Makefile to create only the native binaries ( make native ), or only the docker images ( make docker ). 您可以使用Makefile仅创建本机二进制文件( make native ),或仅创建docker映像( make docker )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM