docker进入容器报错:OCI runtime exec failed: exec failed: container_linux.go:345: starting container proces

docker进入容器报错:

OCI runtime exec failed: exec failed: container_linux.go:345: starting container process caused “exec: “F:/Workspace/Git/usr/bin/sh”: stat F:/Workspa
ce/Git/usr/bin/sh: no such file or directory”: unknown

报错场景:

使用git窗口进入docker容器:
docker进入容器报错:OCI runtime exec failed: exec failed: container_linux.go:345: starting container proces_第1张图片

原本输入命令:

docker exec -it hyperf /bin/bash

替换命令:

docker exec -it hyperf sh

进入容器成功如图
docker进入容器报错:OCI runtime exec failed: exec failed: container_linux.go:345: starting container proces_第2张图片

你可能感兴趣的:(php,docker,git)