News for hackers. Stuff that matters.
Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by takeda on Tuesday June 27, 2023 @02:31AM (#36489567)
If your container is big it also takes long time to fetch and start it
Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by esperent on Tuesday June 27, 2023 @03:12AM (#36489810)
Alpine docker container starts at 5mb.
Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by takeda on Tuesday June 27, 2023 @11:53AM (#36494603)
OP was arguing that today the big size doesn't matter, because disk space is cheap. I was providing argument that it still does.
Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by notpushkin on Tuesday June 27, 2023 @03:16AM (#36489834)
Base image layers are deduplicated though. Now if only we could pick a single base image...
Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by chaxor on Tuesday June 27, 2023 @07:22AM (#36491385)
Alpine or Debian. Those are the only base images you ever need.
Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by tracker1 on Tuesday June 27, 2023 @02:02PM (#36496474)
Specifically, Debian-slim. But even then, the versions are varied.
Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by takeda on Tuesday June 27, 2023 @11:55AM (#36494630)
Theoretically that would work, in practice it doesn't.

Making distroless containers is the way to go.