在 Docker 容器中裝載 ASP.NET CoreHost ASP.NET Core in Docker containers

下列文章可用來了解如何在 Docker 中裝載 ASP.NET Core 應用程式:The following articles are available for learning about hosting ASP.NET Core apps in Docker:

容器和 Docker 簡介Introduction to Containers and Docker
了解容器化是一種軟體開發方法,在此方法中,應用程式或服務、其相依性及其組態會封裝在一起,成為一個容器映像。See how containerization is an approach to software development in which an application or service, its dependencies, and its configuration are packaged together as a container image. 映像可進行測試並部署到主機。The image can be tested and then deployed to a host.

什麼是 DockerWhat is Docker
探索 Docker 開放原始碼專案,將應用程式自動化部署為可攜式且可自足的容器,在雲端或內部部署上執行。Discover how Docker is an open-source project for automating the deployment of apps as portable, self-sufficient containers that can run on the cloud or on-premises.

Docker 術語Docker Terminology
了解 Docker 技術的詞彙和定義。Learn terms and definitions for Docker technology.

Docker 容器、映像和登錄Docker containers, images, and registries
了解 Docker 容器映像儲存在映像登錄的方式,取得跨環境部署的一致性。Find out how Docker container images are stored in an image registry for consistent deployment across environments.

ASP.NET Core 的 Docker 映像 了解如何建置和 Docker 化 ASP.NET Core 應用程式。ASP.NET Core 的 Docker 映像 Learn how to build and dockerize an ASP.NET Core app. 瀏覽 Microsoft 維護的 Docker 映像,並檢查使用案例。Explore Docker images maintained by Microsoft and examine use cases.

Visual Studio 容器工具Visual Studio Container Tools
探索 Visual Studio 如何在 Docker for Windows 上支援建置、偵錯和執行以 .NET Framework 或 .NET Core 為目標的 ASP.NET Core 應用程式。Discover how Visual Studio supports building, debugging, and running ASP.NET Core apps targeting either .NET Framework or .NET Core on Docker for Windows. 同時支援 Windows 和 Linux 容器。Both Windows and Linux containers are supported.

發佈至 Azure Container RegistryPublish to Azure Container Registry
了解如何使用 Visual Studio Container Tools 延伸模組,透過PowerShell 將 ASP.NET Core 應用程式部署到 Azure 上的 Docker 主機。Find out how to use the Visual Studio Container Tools extension to deploy an ASP.NET Core app to a Docker host on Azure using PowerShell.

設定 ASP.NET Core 以處理 Proxy 伺服器和負載平衡器Configure ASP.NET Core to work with proxy servers and load balancers
Proxy 伺服器和負載平衡器後方託管的應用程式可能需要其他設定。Additional configuration might be required for apps hosted behind proxy servers and load balancers. 透過 Proxy 傳遞要求通常會遮住原始要求的相關資訊,例如配置和用戶端 IP。Passing requests through a proxy often obscures information about the original request, such as the scheme and client IP. 可能必須以手動方式將一些關於要求的資訊轉送至應用程式。It might be necessary to forwarded some information about the request manually to the app.

使用 Docker 和小型容器的 GC 討論使用小型容器的 GC 選取專案。GC using Docker and small containers Discusses GC selection with small containers.