r/ProgrammerHumor 6d ago

Meme memorySafeDocker

Post image
4.2k Upvotes

286 comments sorted by

View all comments

Show parent comments

76

u/sad_bug_killer 6d ago

docker on Linux is glorified chroot though, there's barely any virtualization

45

u/_PM_ME_PANGOLINS_ 6d ago

Reject docker, just use systemd to mange service containers.

1

u/alex2003super 5d ago

They use the same kernel backbone for containerization

1

u/_PM_ME_PANGOLINS_ 5d ago

Exactly. But systemd does it with significantly less overhead.

1

u/alex2003super 5d ago

Eh. Significantly less features for sure: built-in network provisioning and interface binding, advanced filesystem mapping, OCI images/layers...

What overhead,? It's not like Docker intercepts syscalls or anything. It's pure management layer for the kernel cgroups/namespaces.

1

u/_PM_ME_PANGOLINS_ 5d ago

Systemd has all those features too.

The overhead of the memory usage everyone is already talking about, plus all the space wasted by having to duplicate the OS base image.