Better HN
topnewbestaskshowjobs
Log inSign up

ziomek77

24 karma · joined Nov 6, 2022 (4y ago) · 4 submissions

Submissions

comment 4y ago · link · parent

Yeah, You need Hyper-V to run basic Docker configuration on Windows, I just simplified this too much I guess.

The end result is that if you run Docker on Windows with Hyper-V alone it's using Window filesystem and then "translating" this for Docker therefore making the whole process of accessing the files incredibly slow.

I used to work with docker using Docker Kinematic (https://github.com/docker/kitematic) in the past, which basically was a Virtual box with Docker installed inside this VM, and since the VM was some kind of Linux, it worked reasonably well.

The same seems to be the case when using WSL2 - you run VM and Docker inside this VM, removing the file sync/translation part out of the equation, resulting in speed boots.

comment 4y ago · link · parent

Same here, Docker for windows is slow, like VERY slow. After I moved Docker to WSL2 my app is starting and running at least 10 times faster. The difference is so huge that I wonder why it is even possible to use Docker natively on Windows file system. It's crazy. I'm talking 60-90 seconds to bootstrap and run each page each time under Windows filesystem to around 5s (yes the app is very slow) under WSL2

comment 4y ago · link · parent

Yeah, I saw the title "WSL 1.0.0 released" and the first thing I think of is...

"I'm already using WSL2, how old is this news? wink, wink"

comment 4y ago · link · parent

https://12ft.io/proxy?q=https%3A%2F%2Fwww.ft.com%2Fcontent%2...