742
Stop use docker (lemmy.world)
top 50 comments
sorted by: hot top controversial new old
[-] ReeSilva@bolha.forum 7 points 1 day ago

hahahahahahaj I don't know if it is funny because it is absurd or if it is funny because there are some folks out there that really think like that hahahahah

[-] booly@sh.itjust.works 2 points 11 hours ago

This meme format works best to absurdly overstate the uselessness of something you find mildly annoying. That's when it's funniest, because the criticisms are grounded in something real, and the low-stakes controversy makes the aggressive tone funny in context.

[-] MrSpArkle@lemmy.ca 27 points 1 day ago

Docker exists because most programming languages don’t give a shit about producing easily executable outputs.

Nobody cares about your stupid python egg or ruby gem. How do I run it on my local?

[-] dan@upvote.au 12 points 1 day ago

Docker is still useful even for apps that compile to a single executable, as the app may still depend on a particular environment setup, particular libraries being available, etc.

[-] alexdeathway@programming.dev 8 points 1 day ago

How do I run it on my local?

spin a dock.....

load more comments (1 replies)
[-] Holzkohlen@feddit.de 8 points 1 day ago

I use podman and have absolutely no idea what I am doing. Send help

[-] where_am_i@sh.itjust.works 52 points 2 days ago* (last edited 2 days ago)

Weak one. Let's ideate on a better version

STOP DOING DOCKER

  • Virtualization was supposed to reduce the overhead, not create entire DevOps departments.

  • Years of containerization yet no real use over make clean; make build

  • Wanted to deploy your app in the "cloud" anyways for a laugh? We had a tool for it, it's called rsync

  • Let's run a virtual container in --privileged mode, so we can manage system resources from it -- Statements dreamt up by utterly Deranged

Look at what tech interviews have been demanding your Respect for all these years. (These are real documentation examples for how a simple virtualization supposedly works)

????

??????

?????????

--

Hello, I would like to put 20 Terabytes of "images" into my /var/lib/, please!

They played us for absolute fools!

[-] dan@upvote.au 4 points 1 day ago

Your version is better than OP

load more comments (6 replies)
[-] MonkeMischief@lemmy.today 13 points 1 day ago

Meme gave me a laugh. XD

I see people not happy with Docker as a company, and, I get that, tech co. Lol

But I gotta admit, it's definitely been awesome for self hosting. My home server would probably just be OpenMediaVault and a Samba share if I couldn't just spin up compose files and had to worry about every app wanting its own database and stuff!

Are there better alternatives for newbs who just wanna self host stuff?

[-] dan@upvote.au 9 points 1 day ago* (last edited 1 day ago)

Are there better alternatives for newbs who just wanna self host stuff?

Docker is great for a beginner, and even for an expert too. I've been self-hosting for 20 years and love Docker.

Back in "the old days", we'd use Linux-VServer to containerize stuff. It was a bit like LXC is today. You get a container that shares the same kernel, and have to install an OS inside it. The Docker approach of having an immutable container and all data stored in separate volumes was a game changer. It makes upgrades so much simpler since it can just throw away the container and build a new one.

The main alternative to Docker is Podman. Podman uses the same images/containers as Docker - technically they're "OCI containers" and both Docker and Podman implement the OCI spec.

Podman's architecture is different. The main difference with Podman is that it never runs as root, so it's better for security. With Docker, you can either run it as root or in rootless mode, but the default is running it as root.

[-] MonkeMischief@lemmy.today 2 points 18 hours ago* (last edited 18 hours ago)

Wow, I really appreciate you taking the time. I'm bookmarking this. Thanks, Dan!

As I look to upgrade or re-factor the server a bit, I'm gonna take a closer look at Podman. Not running as root by default sounds extremely sensible!

I tried that with a few of my Docker containers with results ranging from "Did it actually do it?" to "Nice job breaking it, hero." Lol

OMV has a really nice Docker GUI built in, but I'd much rather be ready to understand the open-for-all solution if I could. :)

Hope you have a great one!

[-] synae@lemmy.sdf.org 76 points 2 days ago

Reject whale, join the kubernetes cluster.

We have fully automated gay space crashloopbackoff!

[-] darvit@lemmy.darvit.nl 3 points 1 day ago

Reject kubernetes, join the Juju cluster.

We have "save your wallet hundreds of thousands by not automatically spinning up a crapton of resources if your app does an oopsie"! And we have "simply run on any public cloud or in your own datacenter with MAAS or locally with LXD"!

load more comments (3 replies)
[-] kshade@lemmy.world 66 points 2 days ago

For real though, containerization isn't the only way to separate applications from each other but totally fine, it's the "It works on my machine, so here's my machine" mentality that doesn't fill me with confidence. I've seen too much barely-working jank in containers that probably only get updated when a new version of the containerized application itself is released.

[-] pimeys@lemmy.nauk.io 34 points 2 days ago

Nix user arrives to the room.

load more comments (5 replies)
[-] thehatfox@lemmy.world 15 points 2 days ago

I like containers. But they do have a habit of nurturing cludgy temporary hacks into permanent infrastructure, by sweeping all the ugly bits under the big whale-shaped rug.

[-] undefined@links.hackliberty.org 10 points 2 days ago* (last edited 2 days ago)

What gets me is people migrating from VMs treating it like an entire host machine.

There is a lack of knowledge among developers regarding precompiling assets and classes (if interpreted), and people are trying to do too much in startup scripts.

Another thing I hate is wrapping the entire process in a script because people want to kill the main process without restarting the container. Yikes!

[-] joelfromaus@aussie.zone 15 points 1 day ago

(Chorus) Heave ho, Docker, and sail the binary sea, With containers all lined up, so light and free. From the code to the cloud, we'll go with ease, In our trusty Docker ships, we sail the seas.

(Verse 1) Oh, the devs were a-struggling, in a stormy plight, With dependencies broken, things weren't quite right. Then Docker sailed in, with a promise so bold, Of consistent environments, as good as gold.

(Chorus) Heave ho, Docker, and sail the binary sea, With containers all lined up, so light and free. From the code to the cloud, we'll go with ease, In our trusty Docker ships, we sail the seas.

(Verse 2) We build and we ship, with our Docker compose, In our microservices, our confidence grows. With images light and containers so tight, We deploy in the morning, and sleep sound at night.

(Chorus) Heave ho, Docker, and sail the binary sea, With containers all lined up, so light and free. From the code to the cloud, we'll go with ease, In our trusty Docker ships, we sail the seas.

[-] andioop@programming.dev 1 points 1 day ago

Just curious: was this based off an existing song and if so, what is it?

[-] gencha@lemm.ee 27 points 2 days ago

Containers are a great way run applications.

Docker is a piece of garbage by a company way too far down the enshittification slide.

[-] Artyom@lemm.ee 16 points 2 days ago

This meme but unironically

[-] CaptainHowdy@lemm.ee 12 points 2 days ago

If you're doing it right, containers are less like VMs and more like cgroups. If orchestrated correctly it uses less system resources to run lots of services on a single system/node.

That said, I'm a devops/infrastructure/network professional and not a developer, so maybe I'm missing something from the dev experience.... But I love containers.

Docker does kinda suck now, though. Use podman or another interface instead if you can help it.

[-] skuzz@discuss.tchncs.de 6 points 1 day ago

If done correctly, it also forces devs to write smaller more maintainable packages.

Big if though. I've seen many a terrible containerized monolithic app.

[-] dan@upvote.au 4 points 1 day ago

I've seen many a terrible containerized monolithic app.

I've seen plenty of self-hosters complain when an app needs multiple containers, to the point where people make unofficial containers containing everything. I used to get downvoted a LOT on Reddit when I commented saying that separating individual systems/daemons into separate containers is the best practice with Docker.

load more comments (4 replies)
[-] nobleshift@lemmy.world 13 points 2 days ago

BSD Jails have entered the chat ...

[-] sundaylab@lemmy.ml 8 points 1 day ago

That's one of my dilemmas. Due to using BSD and relying on jails I have a hard time using lots of possibly nice apps being released nowadays because they only offer the docker way of installing.

load more comments (1 replies)
[-] tacosplease@lemmy.world 16 points 2 days ago

I wish I understood this because it seems funny

[-] magic_lobster_party@kbin.run 18 points 2 days ago

It’s not that funny.

Docker is like a virtual machine, but you only run one specific program in it. About exactly what the meme describes.

[-] HeapOfDogs@lemmy.world 13 points 2 days ago

You ain't missing much

load more comments (3 replies)
[-] Mixel@feddit.de 2 points 1 day ago

I need all of these! I already have them for data structures and agile but this is also golden!

[-] some_guy@lemmy.sdf.org 20 points 2 days ago

Why does this feel like it’s a flat-earth slide? I haven’t looked at any flat-earth propaganda, but I strongly suspect that it looks a lot like this.

That said, I’ll stick with my VMs regardless. I like simplicity.

[-] Norgur@fedia.io 30 points 2 days ago

Are VMs really simpler? I'd say no.

[-] CodeBlooded@programming.dev 18 points 2 days ago

I was so relieved to never need VM’s again after discovering Docker.

[-] Norgur@fedia.io 18 points 2 days ago

The absurd waste of resources VMs bring.... LXC and Docker a godsend in that regard.

I would vote for docker as well. The last time I had to inherit a system that ran on virtual machines, it was quite a pain to figure out how the software was installed, what was where in the file system, and where all the configuration was coming from. Replicating that setup took months of preparation.

By contrast, with Docker, all your setup is documented. The commands that were used to install our software into the virtual machines and were long gone are present right there in the Docker file. And building the code? An even bigger win for Docker. In the VM project, the build environment for the C++ portion of our codebase was configured by about a dozen environment variables, none of which were documented. If it were built in Docker, all the necessary environment variables would have been right there in the build environment. Not to mention the build commands themselves would be there too, whereas with VMs, we would often have developers build locally and then copy it into the VM, which was terrible for reproducibility and onboarding new developers.

That said, this all comes down to execution - a well-managed VM system can easily be much better than a poorly managed Docker system. But in general, I feel that Docker tends to be easier to work with than a VM. While Docker is far from flawless, there are a lot more things that can make life harder with VMs, at least from my experience.

load more comments (1 replies)
[-] MonkderDritte@feddit.de 3 points 1 day ago* (last edited 1 day ago)

Reading about all the security issues in Docker lately, i'm thinking about using LXC via Incus/Proxmox. Should i? Or podman?

[-] PlexSheep@infosec.pub 3 points 1 day ago

I just put my docker services in a lxc container. Docker is neat and lets me deploy shit without having to worry. Works pretty well, just remember to put your lxc containers on your SSD and not your raid mass storage (my hdds have errors now, fuck)

load more comments
view more: next ›
this post was submitted on 28 Jun 2024
742 points (94.6% liked)

Programmer Humor

18225 readers
1581 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 1 year ago
MODERATORS