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

Asklemmy

43807 readers
730 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_[email protected]~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 31 points 10 months ago (1 children)

Pointing out that you find it easy because you do it for a living isn't a very good counter to their point - most people do other things besides Linux for a living

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (1 children)

He's.... not wrong though. I mean look, deploying things is somewhat inherently the task of professionals and enthusiasts. To say that deploying things on Windows is easier than Linux is going to be really really hard to defend. Not to even mention the docker layer.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (2 children)

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.

[–] [email protected] 3 points 10 months ago* (last edited 10 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.

[–] [email protected] 1 points 10 months ago (1 children)

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.

[–] [email protected] 1 points 10 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.