Sujet : Re: xxd -i vs DIY Was: C23 thoughts and opinions
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 03. Jun 2024, 08:59:46
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3jt5h$3qduu$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
User-Agent : Pan/0.158 (Avdiivka; )
On Mon, 3 Jun 2024 08:57:16 +0200, David Brown wrote:
If WSL were to work by containers, it would need to run the Linux
processes as processes under the NT kernel. I suppose that might be
possible, with a translation layer for all system API calls. After all,
you can run Windows processes on Linux with Wine - perhaps a similar
principle can work for Windows?
Microsoft tried to get Docker--a well-known Linux container technology--
working under Windows, but gave up.
“Containers” are not actually a primitive facility that the Linux kernel
offers: what it does offer are “namespaces” and “cgroups”. There are maybe
a dozen different kinds of “containers” you can get that are built on top
of these, such as LXC, LXD, systemd-nspawn, Docker and no doubt others I
haven’t even heard of.