linux proc self exe,docker 异常:“fork/exec /proc/self/exe: no such file”

docker 服务不正常

[root@controller03 ~]# docker exec -it keystone bash

rpc error: code = 2 desc = oci runtime error: exec failed: process_linux.go:75: starting setns process caused "fork/exec /proc/self/exe: no such file or directory"

[root@controller03 ~]# docker exec -it glance_api bash

unable to find user glance: no matching entries in passwd file

[root@controller03 ~]# docker exec -it -u 0 glance_api bash

rpc error: code = 2 desc = oci runtime error: exec failed: process_linux.go:75: starting setns process caused "fork/exec /proc/self/exe: no such file or directory"

or

对容器内容做下修改,然后docker restart xxxx,重启失败。

成功的操作方法:docker stop xxxx,docker start xxxx。

以上错误信息,建议重启docker服务:

sudo service docker restart

systemctl restart docker

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值