![](/img/trans.png)
[英]how to automate docker development environment startup for a multi-service web app (on Linux)
[英]Azure App Service Docker Linux Deployment - Where are my files?
I have a Azure CI pipeline, that deploys .NET Core API to a Linux docker image and pushes it to our Azure Container Registry. 使用 docker-compose 和 dockerfile 将文件部署到 /var/lib/mycompany/app。 然后将其用作提供 API 的应用服务的映像。 The app starts fine and works, but if I go to advanced tools in the app service and run a bash session, I can see all the logs files generated by docker, but I can't see any of the files I deployed in the locations我部署了它们。 为什么会这样,我在哪里可以找到它们? 它是某处的附加卷、符号链接、docker 中的一个层,我需要通过某种机制、某种主机或黑魔法访问?
为我的无知道歉。
一切顺利,
斯图。
使用高级工具打开 bash session 将在运行容器的底层 VM 中打开 session。 如果您想访问您的容器,您需要在其中安装 ssh 服务器并使用高级工具中的 SSH 选项卡或 Azure CLI。
az webapp create-remote-connection --subscription <subscription-id> --resource-group <resource-group-name> -n <app-name> &
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.