titan-data / titan-server

Titan server to support local docker development
Apache License 2.0
5 stars 3 forks source link

Support Docker Desktop with WSL 2 #32

Open eschrock opened 4 years ago

eschrock commented 4 years ago

Problem

The new WSL 2 (windows service for linux) architecture is very different from the traditional Hyper-V based HyperKit approach. We should make sure everything works properly in this model. Docker Destop Tech Preview is not available.

Solution

It looks like there is some control over the version being run, for example the docs docks reference "Set Ubuntu 18.04 as the default distribution.". If we're really running an Ubuntu kernel, and can load kernel modules, then this may "just work", or be a quick fix to add the requisite uname.

Alternatives

Continue to use Hyper-V based support.

eschrock commented 4 years ago

This is not currently possible due to an issue in the WSL2 tech preview. I added support for building ZFS kernel modules for the WSL2 kernel, so we should be in a good position for when the above issue is fixed. Putting on the back burner for now.