OCI运行时创建失败:container_linux.go:345:启动容器进程导致“ exec:\“ orderer1 \”:在$ PATH中找不到可执行文件”:未知

时间:2020-01-28 10:06:04

标签: hyperledger-fabric blockchain hyperledger

我在启动带有地址(orderer1.IdentityPreservationSystem.com)的容器时遇到麻烦。我有2个订购者服务都产生相同的错误。环境设置如下所示

orderer1.IdentityPreservationSystem.com: container_name:orderer1.IdentityPreservationSystem.com 图片:Hyperledger / Fabric-orderer:1.2.1 环境: -ORDERER_GENERAL_LOGLEVEL =调试 -ORDERER_GENERAL_LISTENADDRESS = 0.0.0.0 -ORDERER_GENERAL_GENESISMETHOD =文件 -ORDERER_GENERAL_GENESISFILE = / etc / hyperledger / configtx / genesis.block -ORDERER_GENERAL_LOCALMSPID = Orderer1MSP -ORDERER_GENERAL_LOCALMSPDIR = / etc / hyperledger / msp / orderer1 / msp working_dir:/opt/gopath/src/github.com/hyperledger/fabric 命令:orderer1 端口: -7049:7049 数量: -./:/etc/hyperledger/configtx #-./channel-artifacts:/etc/hyperledger/configtx -./crypto-config/ordererOrganizations/IdentityPreservationSystem.com/orderers/orderer1.IdentityPreservationSystem.com/msp:/etc/hyperledger/msp/orderer1/msp

使用的命令

docker-compose -f docker-compose-dev.yml up orderer1.IdentityPreservationSystem.com

完整输出:

正在启动orderer1.IdentityPreservationSystem.com ...错误

错误:orderer1.IdentityPreservationSystem.com无法启动 服务orderer1.IdentityPreservationSystem.com:OCI运行时创建 失败:container_linux.go:345:导致启动容器进程 “ exec:\” orderer1 \“:在$ PATH中找不到可执行文件”:未知

错误:orderer1.IdentityPreservationSystem.com无法启动 服务orderer1.IdentityPreservationSystem.com:OCI运行时创建 失败:container_linux.go:345:导致启动容器进程 “ exec:\” orderer1 \“:在$ PATH中找不到可执行文件”:未知 错误:启动项目时遇到错误。

1 个答案:

答案 0 :(得分:0)

我今天遇到了同样的问题。原来我的服务器内存不足(RAM)。正在运行的容器很少。