进docker容器时报错“OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown”
今天在准备进入容器时发现提示了“OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown”
根据提示能看到缺少bash
工具导致的,那就安装下bash工具吧
虚机为centOS,用yum install -y bash
安装后再次执行docker exec -it 容器id bash
发现还是提示此错误,暂时还不知道原因,可以改用docker exec -it 容器id sh
命令一样可以。
分类:
标签:
docker
版权申明
本文系作者 @cesii 原创发布在进docker容器时报错“OCI runtime exec failed: exec failed: unable to start container process: exec: "bash": executable file not found in $PATH: unknown” - Cesii Blog。未经许可,禁止转载。
评论
文章目录
暂无目录
全部评论