OCI运行时exec失败:container_linux.go:344:启动容器进程导致“没有这样的文件或目录":未知 [英] OCI runtime exec failed: container_linux.go:344: starting container process caused "no such file or directory": unknown

查看:99
本文介绍了OCI运行时exec失败:container_linux.go:344:启动容器进程导致“没有这样的文件或目录":未知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行

I'm running sample tutorial from https://hyperledger-fabric.readthedocs.io/en/release-1.4.html, trying to run the "Build Your First Network" ./byfn.sh. Network generation works fine, but when I try to up the network, i receive the following error:

$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**

解决方案

Reinstalled docker, deleted previous node modules, re-run the network, finally worked fine.

$./byfn.sh down
$docker rm $(docker ps -a -q)
$docker volume prune
$./byfn.sh generate
$./byfn.sh up

这篇关于OCI运行时exec失败:container_linux.go:344:启动容器进程导致“没有这样的文件或目录":未知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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