• Shirasho@lemmings.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    11 months ago

    I can run a Linux docker container on Windows and it just works. When I run it on Linux it is constant permission and access issues.

    • kjPhfeYsEkWyhoxaxjGgRfnj@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      11 months ago

      I guess I can’t deny your experience is your experience, but again if you’re running Docker on Windows, Windows is just running a Linux VM or WSL to do this. And I can assure you that any serious person running containerized workloads for production type deployments will be doing this on a Linux host.

      Docker has pretty good docs for installation on the major Linux distros, so without more info I can’t really say much else.

    • Riskable@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Permissions on Windows are notoriously insecure. By default, literally everything is executable in Windows. Docker is very much the same (insecure by default; in Windows).

      Your permissions problems in Linux are a feature, not a bug. You just didn’t understand what you were doing when you tried to get it set up. Otherwise you wouldn’t be complaining about permissions errors. That’s the very definition of complaining about your own ignorance.

      I get that the point of this thread is something along the lines of, “running Docker images is a breeze” but I think a more relevant point would be, “Docker images run better” (in Linux).

      Docker images will run much faster and more efficiently in Linux. It’s just how it was meant to work. WSL doesn’t work like WINE: it’s actually an emulator and will always be slower than native Linux.

      • Shirasho@lemmings.world
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago

        As you said, I am perfectly aware that in an ideal world security would be on lockdown. How it behaves on Linux is how it SHOULD work. That doesn’t change the main point that you can’t hit the ground running with Docker containers in Linux.