Residual Entropy on Nostr: Yep. You’re not wrong. But I do want to clarify that: Neither WSL nor docker are ...
Yep. You’re not wrong. But I do want to clarify that:
Neither WSL nor docker are VMs. Docker is a container so the kernel is shared, and WSL is a translation layer (like Wine) that turns Linux syscalls into Windows syscalls.
So whenever you tell the kernel to do something Docker handles namespacing to keep the container separate, and everything is translated to windows syscalls by WSL. So you’re not virtualizing anything, you’re hitting the actual kernel.
Neither WSL nor docker are VMs. Docker is a container so the kernel is shared, and WSL is a translation layer (like Wine) that turns Linux syscalls into Windows syscalls.
So whenever you tell the kernel to do something Docker handles namespacing to keep the container separate, and everything is translated to windows syscalls by WSL. So you’re not virtualizing anything, you’re hitting the actual kernel.