Hacker News new | ask | show | jobs
by JonasJSchreiber 2949 days ago
I really wish that Docker could natively run in WSL. It's a really aspirational project for Microsoft, but it's not doing anything that Cygwin doesn't at this time.
3 comments

Cygwin doesn't run Linux binaries. WSL does.
Depending on what you need, it already does. Docker for Windows provides Linux (and Windows) Containers on a windows host, albeit the Linux containers run in a VM.

you can access docker for windows from WSL by setting up TLS on the Docker engine interface (https://raesene.github.io/blog/2018/03/29/WSL-And-Docker/)

There's also some suggestions that some versions of the docker daemon can run on WSL with ubuntu https://github.com/Microsoft/WSL/issues/2291#issuecomment-38...

It doesn't run natively but it's really easy to interact with Docker from WSL.

You can follow the steps to set this up at https://nickjanetakis.com/blog/setting-up-docker-for-windows....

I use it every day and it's great.