$ | >

Enable/Install WSL within a Docker Windows container

Hi everyone,

I am wanting to enable and install the Windows Subsystem for Linux (WSL) feature from within a Docker windowsservrecore container.
However, due to the fact that Docker containers are more like full-environment-processes than VMs,
and because WSL feature installation requires a 'system reboot'; this has proven troublesome.

I have seen solutions that other people have figured out for installing features that normally 'require reboot' in a Docker windows container:
- e.g. Active Directory support: https://blogs.msdn.microsoft.com/containerstuff/2017/01/30/create-a-container-with-active-directory-support/
- e.g. Server Media Foundation: https://www.impostorprogrammer.com/articles/docker/media_foundation_windows_containers.html

So I was wondering if anyone had any thoughts or has managed something similar for getting WSL to install in a Docker windows container?

Thanks in advance.

5 votes
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

Nathan P shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base