this post was submitted on 30 Dec 2024
1536 points (97.1% liked)

memes

10795 readers
3142 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
[โ€“] BlackPenguins 7 points 5 days ago (2 children)
[โ€“] [email protected] 7 points 5 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 4 days ago* (last edited 4 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 4 days ago

LXC -- natively containerize an application (or multiple)

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