News for hackers. Stuff that matters.
Re:Windows Subsystem for Linux 2 Moving into General Availab... by Semaphor on Wednesday April 15, 2020 @12:32AM (#22874527)
Windows has direct docker support and has had it for a while. Not sure how great, not into containers myself ;)
Re:Windows Subsystem for Linux 2 Moving into General Availab... by nickjj on Wednesday April 15, 2020 @06:43AM (#22876279)
Docker Desktop 2.1.x with WSL1 works amazingly well.

I've been running this set up for over a year and the volume performance is superb.

Flask, Phoenix, Rails and Webpack driven apps are all a fantastic experience. For example Webpack takes 150ms to compile SCSS / ES6 JS diffs for large real world projects. Web server reloads on code change are effectively instant and I get microsecond response times in some Phoenix apps in development.

This is on 6 year old hardware too and the source code isn't even sitting on an SSD (but Docker Desktop is installed on an SSD).

In all cases, everything is running in Docker through Docker Deskop and I use the Docker CLI / Docker Compose in WSL as a client to connect to Docker Desktop.

It's all documented at https://nickjanetakis.com/blog/setting-up-docker-for-windows....

Re:Windows Subsystem for Linux 2 Moving into General Availab... by inyorgroove on Wednesday April 15, 2020 @12:46AM (#22874605)
Just like on Mac OS it runs in a VM.
Re:Windows Subsystem for Linux 2 Moving into General Availab... by judge2020 on Wednesday April 15, 2020 @01:20AM (#22874783)
soon it won't (at least, not on its own- in the wsl2 VM) https://www.docker.com/blog/new-docker-desktop-wsl2-backend/
Re:Windows Subsystem for Linux 2 Moving into General Availab... by pjmlp on Wednesday April 15, 2020 @01:33AM (#22874855)
It can make use of Hyper-V and Windows Containers.