News for hackers. Stuff that matters.
Re:The Curse of Docker by w-ll on Sunday November 26, 2023 @01:02AM (#38419529)
Are you compiling you os distro's `FROM scratch`?

Ther's always a certin level of trust, and for many, docker containers are just as trusty as distros from trusty orgs or volunteers.

Re:The Curse of Docker by rnimmer on Sunday November 26, 2023 @01:56AM (#38419725)
There once was a man named Terry Davis...
Re:The Curse of Docker by jdwithit on Sunday November 26, 2023 @04:26AM (#38420309)
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.
Re:The Curse of Docker by w-ll on Sunday November 26, 2023 @02:14AM (#38419808)
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.

Re:The Curse of Docker by viraptor on Sunday November 26, 2023 @02:56AM (#38419963)
> 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.

Re:The Curse of Docker by oddmiral on Sunday November 26, 2023 @05:19AM (#38420547)
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.
Re:The Curse of Docker by oddmiral on Sunday November 26, 2023 @11:10AM (#38422651)
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.