遵循Docker Hub和GitHub上可用的Azure Functions运行时v2容器定义,我使用

CMD ["dotnet", "C:\\runtime\\Microsoft.Azure.WebJobs.Script.WebHost.dll"]

访问某些功能时,日志显示“检测到装配引用更改”并停止主机...
> docker logs {id}
info: Function.GraphQuery[0]
     Assembly reference changes detected. Restarting host...
....
info: Host.General[0]
      Environment shutdown has been triggered. Stopping host and signaling shutdown.
....
info: Host.General[0]
      Stopping Host
info: Host.Startup[0]
      Job host stopped

容器不见了:
> docker ps {id}
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS  NAMES

在更改引用值之后,我需要采取什么措施来保持容器运行?

最佳答案

问题已通过版本2.0.11888-alpha修复或消失

关于docker - 程序集引用更改后,如何使Azure Functions v2运行时在容器中运行?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/50869266/

10-16 04:12