• als@lemmy.blahaj.zone
    link
    fedilink
    Akan
    arrow-up
    0
    ·
    5 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.

  • Captain Howdy@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    5 months 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
      link
      fedilink
      arrow-up
      0
      ·
      5 months 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
        link
        fedilink
        arrow-up
        0
        ·
        5 months 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.

        • skuzz@discuss.tchncs.de
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          Separate containers works like a dream when one app starts shitting the bed, gets auto-cycled, and everyone else just chills. Not surprised on the Reddit downvotes though. That place is so culty, especially now.

  • where_am_i@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    5 months 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!

    • slabber@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      5 months 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.

  • kshade@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 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.

  • some_guy@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    5 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.

      • namingthingsiseasy@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        5 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.

        • Norgur@fedia.io
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

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

    • PoolloverNathan@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      5 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.

  • gencha@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    5 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.

  • reesilva@bolha.forum
    link
    fedilink
    arrow-up
    0
    ·
    5 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
      link
      fedilink
      arrow-up
      0
      ·
      5 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.

  • MonkderDritte@feddit.de
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    5 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
      link
      fedilink
      arrow-up
      0
      ·
      5 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
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

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