Hyperledger Fabric 需要 Docker 吗? [英] Does Hyperledger Fabric need Docker?

查看:35
本文介绍了Hyperledger Fabric 需要 Docker 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是个愚蠢的问题.Hyperledger Fabric 的操作是否需要 Docker.

This may be the stupid question. Does Hyperledger Fabric require Docker for its operations.

我只是想知道仅当我们需要在同一物理机中将 Fabric peer、orderer 或 couchDB 作为虚拟机运行时才需要 Docker.如果我们将这些软件(peer、order、couchDB 等)本地安装在单独的同一台服务器上,我认为 Docker 可能不是必需的.

I'm just wondering that Docker is needed only if we need to run Fabric peer, orderer or couchDB as virtual machine in the same physical machine. I think Docker might not be necessary if we install those sofwares (peer, order, couchDB, etc) natively on the separate and same server.

谢谢.

推荐答案

不要忽视这一点,虽然您不需要在 Docker 容器中运行对等节点,但认可对等节点(运行链代码的节点)需要访问 Docker 守护进程(最好在同一主机上).Chaincode 目前仅通过 Docker 容器部署.

Just so this point does not go unnoticed, while you do not need to run the peer in a Docker container, endorsing peers (the ones which run chaincode) need access to a Docker daemon (ideally on the same host). Chaincode is currently only deployed via Docker containers.

这篇关于Hyperledger Fabric 需要 Docker 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆