我在虚拟机顶部的 rhel7 中运行 docker 时看到以下错误
我只是想使用hello-world
图像
[root@localhost ~]# docker run hello-world
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/hello\": stat /hello: no such file or directory": unknown.
最佳答案
您似乎没有尝试运行 Docker 的执行权限。 尝试使用您有执行权限的目录,例如您的主目录。
或者您可能需要在运行 docker 命令的目录上运行 chmod +x
。
关于linux - docker 运行失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53946547/