我正在尝试使用Redhat UBI镜像部署Nginx镜像,因为我构建的镜像编译没有错误。I get error executable file not found in $PATH":unknown。 有人能告诉我我的dockerfile遗漏了什么吗?FROM registry.access.redhat.com/ubi8/ubi-initCOPY api-gatway /usr/share/nginx/htmlCMD [&q
container_linux.go:380: starting container process caused: exec: "gallery-dl.ps1": executable file not found in $PATH/usr/bin/pwsh -File添加到ps1脚本中(按照我在另一个问题中的说明)。当我附加到容器和ls中时,它显示了我所有的坐骑和gallery-dl.ps本身,它应该在哪里,我应该在哪里调用它:
PS /mydir> l
container_linux.go:380: starting container process caused: exec: "docker-deploy.sh": executable file not found in $PATH错误来自wait-for-it.sh脚本本身、Dockerfile中配置不良的CMD指令,还是来自以my-service形式运行的实际Node/JS应用程序应用@ErikMD建议的更改后的最新错误
container_linux.go:345: starting container process caused "exec: \"python\": executable file not found in $PATH在尝试执行代码之后:其中"c73eada5a5fa“是我的容器id,它是使用以下方法生成的:
sudo docker build
我得到在$PATH中找不到的可执行文件:在试图运行golang项目的docker映像时出现了未知错误。下面是我的码头文件。container_linux.go:370: starting container process caused: exec: "go run main.go": executable file not found in $PATH