News for hackers. Stuff that matters.
Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by IshKebab on Tuesday June 27, 2023 @01:58AM (#36489371)
Because the main point of Docker is to allow you to run programs in their own OS. It became popular as a software distribution method for typical Linux software that is not self-contained - requires a ton of system dependencies and spews itself all over the filesystem.

If your program doesn't do that - e.g. most Rust and Go programs which are a single statically linked binary - then there's very little reason to use Docker in the first place.

People will say "but you still want to containerise things!" or "what about orchestration?" and sure those are some incidental benefits now, but they only really happened because everyone was more or less forced to use Docker to actually run apps.

Docker is a workaround for shitty software.

Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by chaxor on Tuesday June 27, 2023 @07:24AM (#36491392)
"Docker is a workaround for shitty software"

This just needs to be repeated for the pythonistas sitting in the back.

Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by claytongulick on Tuesday June 27, 2023 @10:35AM (#36493447)
Or, as another HN user put it a few years ago:

"Docker is static linking for millennials"

:D