Docker OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caus

docker执行命令:docker exec -it 1e33b26152e1 /bin/bash  

在进入容器报错:OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown

报错场景:我是pull了一个registry镜像,准备搭建私有库。运行了registry镜像,然后进入容器产生的错误

解决办法:

docker exec -it 1e33b26152e1 /bin/sh

or

docker exec -it 1e33b26152e1 bash

or

docker exec -it 1e33b26152e1 sh

已标记关键词 清除标记
相关推荐
©️2020 CSDN 皮肤主题: 技术黑板 设计师:CSDN官方博客 返回首页