• Michal@programming.dev
    link
    fedilink
    arrow-up
    74
    arrow-down
    6
    ·
    23 hours ago

    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.

    • pfm
      link
      fedilink
      arrow-up
      14
      arrow-down
      30
      ·
      23 hours ago

      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.

      • mosiacmango@lemm.ee
        link
        fedilink
        arrow-up
        39
        arrow-down
        4
        ·
        edit-2
        21 hours ago

        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.

      • Toribor@corndog.social
        link
        fedilink
        English
        arrow-up
        21
        arrow-down
        1
        ·
        21 hours ago

        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.

        • hemko@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          16
          ·
          20 hours ago

          There’s also this cursed thing called Windows containers

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