Windows Container solutions

Microsoft provides solutions for Windows containers using the latest Windows Server 2022 base images to help our consumers get started. This is a collection of samples around application frameworks, programming languages, databases, and infrastructure/continuous integration (CI) tools. These samples are provided as-is and with no warranties or guarantees made. Please feel free to contribute to additional samples or submit a PR to help improve the current repository.

What are Windows containers?

Containers are a technology for packaging and running Windows and Linux applications across diverse environments on-premises and in the cloud. Containers provide a lightweight, isolated environment that makes apps easier to develop, deploy, and manage. Containers start and stop quickly, making them ideal for apps that need to rapidly adapt to changing demand.

All containers are created from container images. A container image is a bundle of files organized into a stack of layers that resides on your local machine or in a remote container registry. The container images used in the samples described in this topic are images based on Windows Server, Windows Server Core, and Nano server:

  • Windows Server contains the full set of Windows APIs and system services.
  • Windows Server Core is a smaller image that contains a subset of the Windows Server APIs, namely the full .NET framework. It also includes most, but not all, server roles (for example, Fax Server is not included).
  • Nano Server is the smallest Windows Server image and includes support for the .NET Core APIs and some server roles.

The Windows base images used for the container samples are Windows Server 2022, which was released in August 2021. The samples help you get started using Windows containers, for example, one of the samples helps you install Python bits inside of a Windows container.

Container solutions

Use the category tabs below to learn how to leverage Windows containers using the latest Windows Server base images in your app development. The provided samples fit into six categories and are updated to reflect recent version changes, as well as Windows Server 2022 images.


You can also use step-by-step deployment guides to help you deploy an example solution. Each guide may also refer to a companion code sample.