Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.


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


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: