logoalt Hacker News

BirAdamyesterday at 12:03 PM2 repliesview on HN

You're adding all of the other supporting processes within the container that needn't be replicated.


Replies

akdev1lyesterday at 12:27 PM

It depends, you could have an application with something like

FROM scratch

COPY my-static-binary /my-static-binary

ENTRYPOINT “/my-static-binary”

Having multiple processes inside one container is a bit of an anti-pattern imo

dnnddidiejyesterday at 12:32 PM

Sidecars? Not in a simple app.