Blog Post

Containers
2 MIN READ

Insider preview: Windows container image

Lars Iwer's avatar
Lars Iwer
Copper Contributor
Mar 22, 2019
First published on TECHNET on Jun 27, 2018
Earlier this year at Microsoft Build 2018, we announced a third container base image for applications that have additional API dependencies beyond nano server and Windows Server Core . Now the time has finally come and the Windows container image is available for Windows Insiders.


Why another container image?


In conversations with IT Pros and developers there were some themes coming up which went beyond the nanoserver and windowsservercore container images:
Quite a few customers were interested in moving their legacy applications into containers to benefit from container orchestration and management technologies like Kubernetes. However, not all applications could be easily containerized, in some cases due to missing components like proofing support which is not included in Windows Server Core.
Others wanted to leverage containers to run automated UI tests as part of their CI/CD processes or use other graphics capabilities like DirectX which are not available within the other container images.

With the new windows container image, we're now offering a third option to choose from based on the requirements of the workload. We're looking forward to see what you will build!

How can you get it?


If you are running a container host on Windows Insider build, you can get the matching container image using the following commands:



To simply get the latest available version of the container image, you can use the following command:

docker pull mcr.microsoft.com/windows-insider:latest

Please note that for compatibility reasons we recommend running the same build version for the container host and the container itself.

Since this image is currently part of the Windows Insider preview, we're looking forward to your feedback, bug reports, and comments. We will be publishing newer builds of this container image along with the insider builds.

Alles Gute,
Lars

(update: Added PowerShell gist to download the matching container instead of a static docker pull command)

Published Mar 22, 2019
Version 1.0

1 Comment

  • hoyhnm's avatar
    hoyhnm
    Copper Contributor

    hi Lars,

    Do I get you right the container could be configured to work with graphical output?

    It's so weird there's no info about how to run a Windows app having it's own GUI (not MS)

    in a Windows container on Windows Docker Desktop. Whether Windows containers can be used

    as .NET (or other web tech) and CMD line apps launchers only? There's a bunch of stories how to config Linux Containers (X server)

    and nothing about such a trivial use case.

    thanks!

    Michael