Residual Entropy (I'VE MOVED!) 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.
Published at
2024-05-24 02:18:42Event JSON
{
"id": "d9dd8976308e43be460adea9447c3c5859f467d01ebafeea19ca92ad54b133a2",
"pubkey": "796da93b9647c87a32aef874a8307d79af9e202f49aeb970733af2db5a3f49fb",
"created_at": 1716517122,
"kind": 1,
"tags": [
[
"p",
"b23639082244d09facbd48658808a518d6b17e363829df113bdf244b2877d8e4"
],
[
"e",
"c0c79471a52c155e7e038d0fe2cd1e9f576eaf34cbdf6f72e0814c5079b43819",
"",
"root"
],
[
"proxy",
"https://c.im/@residualentropy/112493666112668743",
"web"
],
[
"proxy",
"https://c.im/users/residualentropy/statuses/112493666112668743",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://c.im/users/residualentropy/statuses/112493666112668743",
"pink.momostr"
]
],
"content": "Yep. You’re not wrong. But I do want to clarify that:\n\nNeither 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. \n\nSo 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.",
"sig": "57949a4c16e06a74052a485b33cc7ba6154696ae277200e901e3821ba11c85840cf8157f6e50ba65cc4920841bc5ee86b586fc6ad1831b836b51f3f23dbb8c03"
}