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