问题描述:docker启动报/bin/bash 找不到,但我在/bin 文件中石油bash的
错误信息:docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: "/bin/bash": stat /bin/bash: no such file or directory".
走同样的路,发现不同的人生
あなたの /bin文件夹里有,不代表镜像里的/bin フォルダーにあります。
/bin
docker では sh
あなたの
/bin
文件夹里有,不代表镜像里的/bin
フォルダーにあります。docker では sh
を使用することをお勧めします