253
you are viewing a single comment's thread
view the rest of the comments
[-] Shirasho@lemmings.world 3 points 6 months ago* (last edited 6 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 3 points 6 months ago* (last edited 6 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 1 points 6 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 1 points 6 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.

this post was submitted on 06 Jan 2024
253 points (93.5% liked)

Asklemmy

42525 readers
1888 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS