3 ms·
I was thinking through how you might do this, and my brain dredged up User-Mode Linux. A UML wrapper around those docker containers would behave almost exactly
by regularfry 6y ago
I was thinking through how you might do this, and my brain dredged up User-Mode Linux. A UML wrapper around those docker containers would behave almost exactly like you describe. You should (if I remember correctly) be able to nest them, too.
I'm pretty sure this is doable today. It's a monstrous hack, and I've got no idea what the performance overheads would look like, but as a way of hiding a mess behind a clean facade, I'm not aware of any reason it shouldn't work.
- etaioinshrdlu 6y agoNowadays, it seems like gVisor is doing something fairly similar to UML but a good deal more lightweight.
- regularfry 6y agoYeah, it looks like this is in the category of "things that could reasonably be done with some elbow-grease" rather than "things that are made impossible by some aspect of the technology".