this post was submitted on 09 Jan 2025
1173 points (100.0% liked)

Programmer Humor

22250 readers
108 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
[–] [email protected] 80 points 2 months ago (1 children)

Docker is more than a cop out for than one use case. It's a way for quickly deploy an app irrespective of an environment, so you can scale and rebuild quickly. It fixes a problem that used to be solved by VMs, so in that way it's more efficient.

[–] [email protected] 16 points 2 months ago (3 children)

Well, nope. For example, FreeBSD doesn't support Docker -- I can't run dockerized software "irrespective of environment". It has to be run on one of supported platforms, which I don't use unfortunately.

[–] [email protected] 44 points 2 months ago* (last edited 2 months ago) (1 children)

A lack of niche OS compatibility isn't much of a downside. Working on 99.9% of all active OS's is excellent coverage for a skftware suite.

Besides, freebsd has podman support, which is something like 95% cross compatible with docker. You basically do have docker support on freebsd, just harder.

[–] [email protected] 5 points 2 months ago (1 children)
[–] [email protected] 22 points 2 months ago

Just POSIX and no other compatibility? Pretty niche, man.

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

To deploy a docker container to a Windows host you first need to install a Linux virtual machine (via WSL which is using Hyper-V under the hood).

It's basically the same process for FreeBSD (minus the optimizations), right?

Containers still need to match the host OS/architecture they are just sandboxed and layer in their own dependencies separate from the host.

But yeah you can't run them directly. Same for Windows except I guess there are actual windows docker containers that don't require WSL but if people actually use those it'd be news to me.

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

There's also this cursed thing called Windows containers

Now let me go wash my hands, keyboard and my screen after typing that

[–] [email protected] 6 points 2 months ago

Yeah I keep discord in one so that it can't hook my GPU and audio devices.

[–] [email protected] 10 points 2 months ago

Well that's where Java comes in /slaps knee