801
Stop use docker (lemmy.world)
top 50 comments
sorted by: hot top controversial new old
[-] synae@lemmy.sdf.org 74 points 4 months ago

Reject whale, join the kubernetes cluster.

We have fully automated gay space crashloopbackoff!

[-] nickwitha_k@lemmy.sdf.org 8 points 4 months ago

Absolutely the best kind of space crashloopbackoff.

[-] jawa21@lemmy.sdf.org 5 points 4 months ago
load more comments (1 replies)
[-] darvit@lemmy.darvit.nl 3 points 4 months 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"!

[-] kshade@lemmy.world 71 points 4 months 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 36 points 4 months ago

Nix user arrives to the room.

[-] SeattleRain@lemmy.world 10 points 4 months ago
[-] pimeys@lemmy.nauk.io 15 points 4 months ago

Nix can build you a bit-to-bit exact environment for your app. It is a superior environment, but is hard to use in the beginning and users can feel snobby sometimes. It is awesome, but YMMV.

[-] qaz@lemmy.world 5 points 4 months ago

How do you separate Nix programs from the rest of the system?

[-] pimeys@lemmy.nauk.io 9 points 4 months ago* (last edited 4 months ago)

It creates a set of symlinks so every program sees exactly the dependencies it needs.

https://nixos.org/guides/nix-pills/09-automatic-runtime-dependencies#automatic-runtime-dependencies

You can also create a container:

https://nixos.wiki/wiki/NixOS_Containers

Or you can create reproducible docker containers with nix:

https://dev.to/anurag_vishwakarma/a-better-way-to-build-reproducible-docker-images-with-nix-2k59

The secret sauce with nix is reproducibility. If it builds once, it will continue building exactly like that forever. Bit by bit.

[-] qaz@lemmy.world 2 points 4 months ago

That's very interesting, I was aware of how NixOS separated dependency versions but I didn't know it natively supported containers.

[-] thehatfox@lemmy.world 17 points 4 months 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 4 months ago* (last edited 4 months 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!

[-] MrSpArkle@lemmy.ca 30 points 4 months 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 14 points 4 months 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 9 points 4 months ago

How do I run it on my local?

spin a dock.....

[-] MonkderDritte@feddit.de 3 points 4 months ago* (last edited 4 months ago)

Pack it with the interpreter in an executable.

[-] gencha@lemm.ee 25 points 4 months ago

Containers are a great way run applications.

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

[-] some_guy@lemmy.sdf.org 22 points 4 months 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 4 months ago

Are VMs really simpler? I'd say no.

[-] CodeBlooded@programming.dev 17 points 4 months ago

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

[-] Norgur@fedia.io 19 points 4 months ago

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

[-] namingthingsiseasy@programming.dev 14 points 4 months ago

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.

[-] PoolloverNathan@programming.dev 6 points 4 months ago

Nix has flakes; nix run can contain pretty much all of the needed dependencies. If that's not enough, you can set up an entire container as a module.

[-] tacosplease@lemmy.world 16 points 4 months ago

I wish I understood this because it seems funny

[-] magic_lobster_party@kbin.run 19 points 4 months 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 4 months ago

You ain't missing much

[-] explodicle@sh.itjust.works 6 points 4 months ago

Moral of the story: never make breaking changes. Always backwards compatible, always.

[-] BigMikeInAustin@lemmy.world 5 points 4 months ago
[-] KinglyWeevil@lemmy.dbzer0.com 6 points 4 months ago

When you're 90% of the market you get away with telling everyone else to suck your dick.

[-] Artyom@lemm.ee 15 points 4 months ago

This meme but unironically

[-] joelfromaus@aussie.zone 13 points 4 months 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.

load more comments (1 replies)
[-] 5714@lemmy.dbzer0.com 13 points 4 months ago

I don't like containerisation because it leads to bullshit like atomic distros. I don't want a spicy Android.

Steam OS has some cool elements like the menu, the in-game side panels and the game mode/desktop dichotomy, but incremental rolling release is utterly deranged from my POV as an Arch user (btw).

[-] Reawake9179@lemmy.kde.social 18 points 4 months ago

If stability is deranged then yes.

As someone having used Arch, stuff does break at times and Valve can't link a Wiki link with the fixes

[-] 5714@lemmy.dbzer0.com 3 points 4 months ago

Say Plasma "breaks" - a wiki will not help fast enough.

I'm not trying to defend rolling release for a gaming console, but give me at least the option to decide for myself whether I'm ok with breakage or not. There is this kernelspace NT driver that I wanted to try, but I couldn't because pacman is locked.

[-] SpeakinTelnet@programming.dev 11 points 4 months ago

I'm currently trying Fedora Kinoite and from the get go the hassle of getting a proper Firefox+codecs to watch online videos feels like a major step back.

Then you have the issue of installing software in flatpack (is: vscode, texmaker) that are either not fully working of need to have their access tweaked. Atomic distros appeal is to "just work" it doesn't seem like it does.

load more comments (1 replies)
[-] ReeSilva@bolha.forum 10 points 4 months 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 5 points 4 months 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.

[-] Holzkohlen@feddit.de 9 points 4 months ago

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

[-] NegativeLookBehind@lemmy.world 7 points 4 months ago

Kubernetes: I will ruin your fucking life

[-] als 6 points 4 months ago

I've recently spent a fair amount of time trying to peel my blog away from my existing framework due to how much I hated using docker to just build a website, it doesn't need to be this heavyweight.

[-] ssm@lemmy.sdf.org 4 points 4 months ago

very cool and based; I take it you're a chroot fan?

[-] MonkderDritte@feddit.de 3 points 4 months ago* (last edited 4 months 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 4 months 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)

[-] Mixel@feddit.de 2 points 4 months ago

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

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

Programmer Humor

19623 readers
3 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