3 ms·
I always run it in a virtual machine when I'm developing on Windows or OS X.
by siliconapex 6y ago
I always run it in a virtual machine when I'm developing on Windows or OS X.
- dx034 6y agoShouldn't WSL do the trick? Especially with WSL2 I found no need to use a dedicated virtual machine to use Linux applications in Windows.
- shakna 6y agoWSL2 _is_ a dedicated virtual machine for Linux on Windows. It runs under Hyper-V.
- Already__Taken 6y agoThat was wsl1, wsl2 is much tighter integrated than just thinking of it as a VM running in hyper V.
- ygra 6y agoWSL 1 was not a virtual machine. It was a re-implementation of the Linux kernel API within the Windows kernel. As such, it's probably more comparable to CoLinux (if that's still a thing).
- jawngee 6y agoIt's not really about running linux applications as much as running your application in the same or similar environment to what you are ultimately deploying on.
- siliconapex 6y agoExactly, I could run in WSL but I run in Docker or VirtualBox to emulate the production environment.