-
-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Is this a new feature request?
- I have searched the existing issues
Wanted change
While this image works fine when ran as a Docker container within a WSL distribution, I'd like to be able to run this image as a WSL distribution itself.
For the most part you can docker export most Docker containers and wsl --import them and they work.
That does not work with this image because it relies on s6 init and WSL replaces /init with it's own WSL init system. WSL is also compatible with systemd. Either way, they're not playing nice with s6.
Reason for change
It would remove another unneeded layer of abstraction if you're using Docker through WSL anyway.
With this extra layer when I open a Windows Terminal tab to a WSL distro where rdesktop is running I'd have to docker exec -it my-rdesktop-container /bin/bash, then su - abc to get a terminal session inside the rdesktop environment.
Would be super useful if these services were running natively inside WSL2.
Proposed code change
It'd be great to be able to download ready-to-use images for WSL, but I'd also be happy with a one-time setup-for-wsl.sh script that would set things up to be ran with systemd.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status