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

1.docker执行命令:docker exec -it 1e33b26152e1 /bin/bash       在进入容器报错:  OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown     报错如下:

2. 解决办法:

docker exec -it 1e33b26152e1 /bin/sh

or

docker exec -it 1e33b26152e1 bash

or

docker exec -it 1e33b26152e1 sh

3.成功解决:

Docker OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caus_第1张图片

 

你可能感兴趣的:(Docker OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caus)