3 ms·
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
by IshKebab 3y ago
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.
- chaxor 3y ago"Docker is a workaround for shitty software" This just needs to be repeated for the pythonistas sitting in the back.
- claytongulick 3y agoOr, as another HN user put it a few years ago: "Docker is static linking for millennials" :D