我正在从https://hyperledger-fabric.readthedocs.io/en/release-1.4.html运行示例教程,尝试运行“建立您的第一个网络” ./byfn.sh。网络生成工作正常,但是当我尝试建立网络时,出现以下错误:
$cd..../fabric-samples/first-network
$./byfn.sh generate
$./byfn.sh up
Starting for channel 'mychannel' with CLI timeout of '10' seconds and
CLI delay of '3' seconds
Continue? [Y/n] y
proceeding ...
LOCAL_VERSION=1.4.1
DOCKER_IMAGE_VERSION=1.4.1
Creating peer0.org1.example.com ... done
Creating peer1.org2.example.com ... done
Creating peer0.org2.example.com ... done
Creating orderer.example.com ... done
Creating peer1.org1.example.com ... done
Creating cli ... done
**OCI runtime exec failed: exec failed: container_linux.go:344: starting
container process caused "no such file or directory": unknown
ERROR !!!! Test failed**
答案 0 :(得分:1)
如果您使用 sh 来解决:
<块引用>使用 docker 命令 docker exec -it <your container> sh
将
让你克服这个问题。看来 bash 不是
安装在容器中。
答案 1 :(得分:0)