|
|
|
|
|
by pooktrain
3303 days ago
|
|
Thanks for sharing! When you set out to do this, had you studied docker's source code at all? Or did you just have a basic understanding of containers? Other than the link from OP, are there any resources you'd recommend to get one to the point where you have enough understanding of the concepts without having to "cheat" and look at the docker implementation? I want to do this too, but it's not as much fun if you need to go to the source due to not understanding the fundamentals. |
|
The actual namespace stuff was easy, the harder part was pivoting the root fs and figuring out all the things to mount. At some point I looked at the source for systemd-nspawn, but I forget exactly what for.