用exec方式创建dockerfile,运行显示“executable file not found in $PATH”
来源:3-7 RUN vs CMD vs Entrypoint
慕先生1393266
2020-05-26
老师,为什么用exec方式创建dockerfile,运行显示“executable file not found in $PATH”
写回答
1回答
-
麦兜搞IT
2020-05-27
注意路径的写法
FROM centos ENV name Docker ENTRYPOINT ["/bin/bash", "-c", "echo hello $name"]
012020-05-28
相似问题