简体   繁体   English

Docker:OCI运行时创建失败:在$ PATH中找不到可执行文件

[英]Docker : OCI runtime create failed: executable file not found in $PATH

The error message I am getting while running the container: 运行容器时出现的错误消息:

Docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \\"mkdir NNEEWW\\": executable file not found in $PATH": unknown Docker:来自守护程序的错误响应:OCI运行时创建失败:container_linux.go:348:启动容器进程导致“ exec:\\” mkdir NNEEWW \\”:在$ PATH中找不到可执行文件”:未知

My Dockerfile: 我的Dockerfile:

FROM python:3 来自python:3

COPY . 复制。 / /

RUN pip install --no-cache-dir -r /requirements.txt 运行pip install --no-cache-dir -r /requirements.txt

EXPOSE 5678 展览5678

CMD ["mkdir NNEEWW", "&", "jupyter", "notebook", "--ip=0.0.0.0", "--port=5678", "--allow-root"] CMD [“ mkdir NNEEWW”,“&”,“ jupyter”,“ notebook”,“-ip = 0.0.0.0”,“-port = 5678”,“-allow-root”]

您需要在CMD外部提取"mkdir NNEEWW", "&"* ,就像在docker CMD中运行可执行文件一样,如果需要,您可以使用RUN mkdir NNEEWW命令在CMD命令之前创建一个新文件夹。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何解决 docker OCI 运行时创建失败的启动容器进程导致“exec:\”java\“:$PATH 中找不到可执行文件”: - How to solve docker OCI runtime create failed starting container process caused “exec: \”java\“: executable file not found in $PATH”: Docker:OCI 运行时创建失败:container_linux.go:349:启动容器进程导致“exec:\”java\“:$PATH 中找不到可执行文件” - Docker: OCI runtime create failed: container_linux.go:349: starting container process caused “exec: \”java\“: executable file not found in $PATH” docker撰写oci运行时错误,$ PATH中找不到可执行文件 - docker compose oci runtime error, executable file not found in $PATH OCI 运行时创建失败:container_linux.go:349:启动容器进程导致“exec:\\”xxxx\\“:在 $PATH 中找不到可执行文件”:未知 - OCI runtime create failed: container_linux.go:349: starting container process caused “exec: \”xxxx\“: executable file not found in $PATH”: unknown OCI 运行时创建失败:container_linux.go:348:启动容器进程导致“exec:\\”-it\\“:在 $PATH 中找不到可执行文件”:未知 - OCI runtime create failed: container_linux.go:348: starting container process caused “exec: \”-it\“: executable file not found in $PATH”:unknown OCI 运行时执行失败:执行失败:(...)$PATH 中找不到可执行文件“:未知 - OCI runtime exec failed: exec failed: (...) executable file not found in $PATH": unknown 在 Windows 上运行 docker 映像会导致“oci 运行时错误:exec:“bash”:在 $PATH 中找不到可执行文件。” - Run a docker image on Windows results in "oci runtime error: exec: "bash": executable file not found in $PATH." OCI 运行时创建失败:runc 创建失败:无法启动容器进程:exec:“split_csv.py”:在 $PATH 中找不到可执行文件:未知 - OCI runtime create failed: runc create failed: unable to start container process: exec: "split_csv.py": executable file not found in $PATH: unknown docker OCI运行时创建失败 - docker OCI runtime create failed OCI 运行时创建失败:container_linux.go:349:启动容器进程导致“exec:\\”r-base\\“:在 $PATH 中找不到可执行文件”:未知 - OCI runtime create failed: container_linux.go:349: starting container process caused “exec: \”r-base\“: executable file not found in $PATH”: unknown
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM