There once was a man named Terry Davis...
Or for a less out-there example, Ken Thompson's classic "Reflections on Trusting Trust". At some point unless you are literally producing all of the hardware and software yourself you have to trust someone. The challenge is figuring out where that line of acceptable risk lies for you. It's going to be very different for an indie game dev vs a FinTech company vs the US DoD.
I imagine anyone with a BA in CS has wrote a OS from scratch.
How many systems on chips are in a moderen computer, not the main system and cpu, but every little chip and controller, the boot system, every board seems to have a little OS.
In regards to security, its all about analysing risk and trade-offs.
For me using containers from known vendors is a risk im willing to take.
> I imagine anyone with a BA in CS has wrote a OS from scratch.
Not even close. Very few courses require anything that advanced and only some of those are non-optional.
Re:The Curse of Docker
by otabdeveloper4 on Sunday November 26, 2023 @04:33AM
(#38420363)
Like the other person said, Nix solves that problem.
You are in control of the entire supply chain with Nix.
If you have sources, you have full control, using any distribution method. Some Nix packages are without sources, so this is not true for Nix.
Re:The Curse of Docker
by otabdeveloper4 on Sunday November 26, 2023 @09:57AM
(#38422021)
Supply chain management isn't about sources per se (though source makes it easier). What you need is hashes and signatures for every dependency at every step.
If you have sources, you can do anything you want at every step. If you haven't, then you can do fewer things at some steps. Some Nix packages have no sources, so full control is not available for them.
Re:The Curse of Docker
by patrick451 on Sunday November 26, 2023 @11:51AM
(#38423008)
> Are you compiling you os distro's `FROM scratch`?
As a matter of fact, yes.
Ther's always a certin level of trust, and for many, docker containers are just as trusty as distros from trusty orgs or volunteers.