this post was submitted on 09 Jan 2025
1094 points (98.4% liked)

Programmer Humor

19935 readers
3302 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] MoonlightFox 85 points 2 days ago* (last edited 2 days ago) (32 children)

There are another important reason than most of the issues pointer out here that docker solves.

Security.

By using containerization Docker effectively creates another important barrier which is incredibly hard to escape, which is the OS (container)

If one server is running multiple Docker containers, a vulnerability in one system does not expose the others. This is a huge security improvement. Now the attacker needs to breach both the application and then break out of a container in order to directly access other parts of the host.

Also if the Docker images are big then the dev needs to select another image. You can easily have around 100MB containers now. With the "distroless" containers it is maybe down to like 30 MB if I recall correctly. Far from 1GB.

Reproducability is also huge efficiency booster. "Here run these this command and it will work perfecty on your machine" And it actually does.

It also reliably allows the opportunity to have self-healing servers, which means businesses can actually not have people available 24/7.

The use of containerization is maybe one of the greatest marvels in software dev in recent (10+) years.

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

Yes, yes you really should

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

I said this a year and a half ago and I still haven't, awful decision, I now own servers too so I should really learn them

[–] Landless2029 7 points 2 days ago (2 children)

The worse part is having the gear and STILL not learning/playing with it.

I got stuff to start [email protected] like an old i5 minipc and even a 64gb i7 pro series laptop...

Theyre just sitting unplugged with mint on them.

[–] mynameisigglepiggle 2 points 2 days ago (1 children)

You would be using them if you installed arch

/s

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

Well, mucking about with configuration on a computer is a form of entertainment hence its "use" in a broader sense...

[–] [email protected] 0 points 1 day ago (1 children)

What a waste of potential compute at least have it mining crypto in the background.

[–] [email protected] 6 points 1 day ago (1 children)

Isn't Crypto unprofitable in countries with high energy cost?

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

Depends on the hash algorithm iirc.

[–] BlackPenguins 2 points 1 day ago* (last edited 1 day ago)

There's a udemy course by Maximilian that is only $20 that helped me immensely. Highly recommend.

load more comments (29 replies)