this post was submitted on 30 Dec 2024
1530 points (97.0% liked)

memes

10775 readers
2086 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ozoned 17 points 3 days ago (4 children)

Containerize everything!

Crypto everything!

NFT everything!

Metaverse everything!

This too shall pass.

[–] [email protected] 3 points 1 day ago

Put a curved screen on everything, microwave your thanksgiving turkey, put EVERYTHING including hot dogs, ham, and olives in gelatin. Only useful things will have AI in them in the future and I have a hard time convincing the hardcore anti-ai crowd of that.

[–] BlackPenguins 7 points 3 days ago (2 children)
[–] [email protected] 7 points 3 days ago (1 children)

Docker is only useful in that many scenarios. Nowadays people make basic binaries like tar into a container, stating that it's a platform agnostic solution. Sometimes some people are just incompetent and only know docker pull as the only solution.

[–] [email protected] 3 points 2 days ago* (last edited 2 days ago)

Docker have many benefits - container meaning it can be more secure, easy to update and something that many overlook - a dockerfile with detailed intrusions on how to install that actually works if the container works - useful when wiki is not updated.

Another benefit is that the application owner can change infrastructure used without the user actually need to care. Example - Pihole v5 is backend dns + lighthttp for web + php in one single container. In version v6(beta) they have removed lighthttp and php and built in functionality into the core service. In my tests it went from 100 MB ram usage to 20 MB. They also changed the base from debian to alpine and the image size shrink a lot.

Next benefit - I am moving from x86 to arm for my home server. Docker itself will figure out what is the right architecture and pull that image.

Sure - Ansible exist as one attempt to combat the problem of installation instructions but is not as popular and thus the community is smaller. They may leave you in a bad state(it is not like containers were you can delete and start over fresh easily) Then we have VM:s - but IMO they waste to many resources.

[–] [email protected] 2 points 2 days ago

LXC -- natively containerize an application (or multiple)

systemd-run -- can natively limit CPU shares and RAM usage

[–] [email protected] 7 points 3 days ago (2 children)

What's wrong with containers?

[–] [email protected] 5 points 3 days ago (2 children)

I think the complaint is that apps are being designed with containerization in mind when they don't need it

[–] [email protected] 2 points 2 days ago (2 children)

Any examples spring to mind? I've built apps that are only distributed as containers (because for their specific purpose it made sense and I am also the operator of the service), but if ya don't want to run it in a container... just follow the Dockerfile's "instructions" to package the app yourself? I'm sure I could come up with a contrived example where that would be impractical, but in almost every case a container app is just a basic install script written for a standard distro and therefore easily translatable to something else.

FOSS developers don't owe you a pre-packaged .deb. If you think distributing one would be useful, read up on debhelper. But as someone who's done both, Dockerfile is certainly much easier than debhelper. So "don't need it" is a statement that only favors native packaging from the user's perspective, not the maintainer. Can't really fault a FOSS developer for doing the bare minimum when packaging an app.

[–] [email protected] 2 points 2 days ago

also! it's worth noting that not all FOSS developers are debian (or even linux) devs. Developers of open source projects including .Net Core don't "owe" us packaging of any kind but the topic here is unnecessary containerization, not a social contract to provide it.

[–] [email protected] 0 points 2 days ago

I am not the person who posted the original comment so this is speculation, but when they criticized "containerizing everything" I suspect they meant "Yes client, I can build that app for you, and even though your app doesn't need it I'm going to spend additional time containerizing it so that I can bill you more" but again you'd have to ask them.

[–] [email protected] 1 points 2 days ago (1 children)

Does "doesn't need it" mean "wouldn't be improved by it"? Examples?

[–] [email protected] 2 points 2 days ago

"Yes, client! I can build that app for you! I'm going to bill you these extra items for containerization so I can get paid more"

[–] [email protected] 3 points 3 days ago

Not sure about that hot take. Containers are here for the long run.

[–] very_well_lost 1 points 2 days ago

Don't forget microservices!