News for hackers. Stuff that matters.
Re:WSL2 – Installation Tutorial for Graphical Windows Subsys... by raesene9 on Wednesday October 07, 2020 @03:48PM (#24711956)
IME Docker for Windows works pretty well with WSL2. it just mounts the socket file into the WSL2 instance from the Docker instance, for most purposes it's pretty seemless.

There are some oddness with things like `--net=host` as the daemon is running in effectively another VM, but for standard Docker workflows it's been fine.

Re:WSL2 – Installation Tutorial for Graphical Windows Subsys... by markawesome on Wednesday October 07, 2020 @05:42PM (#24713095)
Startup time for Docker is about 15 seconds, compared to Linux which is immediate. You're also going to get additional slowness because Docker is running inside another VM.
Re:WSL2 – Installation Tutorial for Graphical Windows Subsys... by raesene9 on Thursday October 08, 2020 @03:34AM (#24716805)
If you're talking about time to launch a container, that's nothing like the times I'm seeing, is there perhaps a problem with your setup?

time docker run -d nginx 0c65064fc675427f0d49b837f368b6d17c3b42b2aa21bf80222baeb7ed20ed2b

real 0m1.556s user 0m0.018s sys 0m0.068s

Re:WSL2 – Installation Tutorial for Graphical Windows Subsys... by markawesome on Thursday October 08, 2020 @05:49PM (#24724289)
I was referring to the actual Docker service startup time for Windows. Once it is started, of course it is going to be much faster. I'm getting half that on Linux on an computer from 2012.