OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused “exec: “/bin/bash”: stat /bin/bash: no such file or directory”: unknown

OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused “exec: “bash”: executable file not found in $PATH”: unknown

解决方法:

三种命令都试一下

docker exec -it 5b2fd8491969 sh
docker exec -it 5b2fd8491969 /bin/bash
docker exec -it 5b2fd8491969 bash
Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐