Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

WSL Container – Linux Containers on Windows

Microsoft's WSL (Windows Subsystem for Linux) now supports running Linux containers directly on Windows. This feature integrates with Docker and other container tools, allowing developers to use Linux container images seamlessly within the Windows environment without needing a separate virtual machine.

Background

- WSL (Windows Subsystem for Linux) is a Microsoft feature that lets you run a full Linux environment directly inside Windows, without a virtual machine. It's widely used by developers who need Linux tools but prefer Windows as their main OS. - WSL Container extends that idea: instead of one persistent Linux distribution (like Ubuntu), you can spin up lightweight, ephemeral Linux containers managed by Docker or similar tooling, all running on top of WSL. - This matters because it gives Windows users native-style containerization — the same Docker/Nerdctl experience that Linux developers have had for years — without needing to run a separate Linux VM or dual-boot. It's part of Microsoft's long effort to make Windows a first-class platform for cloud and DevOps work. - Prior context: Microsoft announced the original WSL in 2016, then a much faster WSL 2 in 2019. The WSL Container feature (previously known as WSL 2 integration with Docker Desktop, now more deeply built-in) emerged around 2020–2021. This page is documentation for the latest version of that integration.

Related stories