docker - Is there any difference between CMD ["./start.sh"] and CMD ./start.sh in docker file?
问题描述
I want to create a docker file in which my API file which is named as start.sh should be running in the background when I run it in the container.Is there any way to do so?
解决方案
推荐阅读
- linux - 安装 nvidia 后,docker 中的凉亭和 rviz 停止工作
- javascript - 出于某种原因,我无法承诺阻止等待输入
- ruby - RUBY:Selenium webdriver,设置下载 pdf 文件而不是打开它们
- azure - 为 azure blob 添加 Pom 依赖项将我的 REST API 响应从 JSON 更改为 XML
- html - 使用不使用 PHP 的 Chart.js 将数据转换为 HTML 中的图表
- python - 通过python评估xlsb工作表中的公式?
- java - 在Java中如何检查一个字符串(保存日期时间值)是否符合日期时间格式YYYYMMDDTHHMMSSZ
- django - 我正在尝试在 kubernetes 上部署一个开源应用程序,但是在 google cloud 上部署时身份验证不起作用
- amazon-web-services - terraform/aws lambda 函数访问在 s3 上被拒绝
- javascript - 我怎样才能使这个 JavaScript 代码更干净?