Docker进入容器报错:OCI runtime exec failed : exec failed: stat bin/bash: no such file or directory: unknow
【代码】Docker进入容器报错:OCI runtime exec failed : exec failed: stat bin/bash: no such file or directory: unknow。
·
docker 使用命令进入容器时报错:
[root@usr ~]# docker exec -it my-hugo /bin/bash
OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat bin/bash: no such file or directory: unknown
解决方法:
使用下面的命令进入容器:
docker exec -it [containerId] /bin/sh
更多推荐
已为社区贡献6条内容
所有评论(0)