Caliper测试网络性能报错problem reading the PEM file :: Error: ENOENT: no such file xxx /keystore/key.pem‘

运行以下命令时报错

npx caliper launch master     --caliper-workspace .     --caliper-benchconfig benchmarks/scenario/simple/config.yaml     --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb/fabric-go.yaml

首先是提示拉取镜像失败:Get https://registry-1.docker.io/v2/hyperledger/fabric-ca/manifests/1.4.1: net/http: TLS handshake timeout

然后报错如下:problem reading the PEM file :: Error: ENOENT: no such file or directory, open ‘/home/yujialing/go/src/github.com/hyperledger/caliper-benchmarks/networks/fabric/config_solo/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/key.pem’

在这里插入图片描述

vim /etc/docker/daemon.json
{
"registry-mirrors":["https://registry.docker-cn.com"]
}

重启docker

systemctl restart docker

查看docker信息

docker info

问题解决!
再次运行
在这里插入图片描述

栏目
728_90 cn stocks