Re:Build Your Own Docker with Linux Namespaces, Cgroups, and...
by adamgordonbell on Tuesday June 27, 2023 @06:06AM
(#36490945)
It's fun the play around with going that way. I did via chroot, and using ldd to see what a program like redis needs copied in[1]. But eventually you might want to get a shell into the little environment, and then page thru logs from inside it, and so eventually, unless you are going pure from-scratch, statically linked, you might want something like alpine in there. But it funny how in a way a solution to dynamic linking containers have come up with is shipping a whole OS.
[1] https://www.youtube.com/watch?v=JOsWB50LmwQ