无法启动服务资源管理器:使用hypereldger大提琴的oci运行时错误

问题描述 投票:0回答:1

大家好我正在使用hyperledger大提琴框架来创建区块链容器

当我使用此错误消息创建链时,我遇到问题:

ERROR: for explorer  Cannot start service explorer: oci runtime error:
container_linux.go:247: starting container process caused       
"process_linux.go:359: container init caused \"rootfs_linux.go:54: mounting 
\\\"/opt/cello/fabric-1.0/local/explorer-artifacts/config.json\\\" 
to rootfs
\\\"/var/lib/docker/overlay2/c0942a0b749ad436d6f4480fb43623dbd44575fd17f0adfcdbea9390df2c4d8c/merged\\\" 
at \\\"/var/lib/docker/overlay2/c0942a0b749ad436d6f4480fb43623dbd44575fd17f0adfcdbea9390df2c4d8c/merged/blockchain-explorer/config.json\\\" 
caused \\\"not a directory\\\"\""

: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

我已经批准了码头工人

docker hyperledger-fabric hyperledger docker-container
1个回答
0
投票

我解决了这个问题

我的问题是/ opt / cell中的文件夹是从命令创建的

make setup-worker

它的创建文件夹config.json没有文件所以再次运行命令解决我的问题

© www.soinside.com 2019 - 2024. All rights reserved.