首页 > 解决方案 > VB.NET Docker 失败

问题描述

有人可以帮我吗?当我尝试为示例 vbnet HelloWorld 应用程序运行 docker 映像时,出现以下错误。

enter code here Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: \"helloworld.exe\": executable file not found in $PATH: unknown"

下面是我的 Dockerfile。

FROM mcr.microsoft.com/dotnet/core/runtime
WORKDIR /app
COPY bin/Release .
ENTRYPOINT ["dotnet", "helloworld-app.exe"]

任何帮助都会非常有帮助。提前致谢!

标签: vb.netdocker

解决方案


推荐阅读