this post was submitted on 06 Jan 2024
253 points (93.5% liked)
Asklemmy
44152 readers
1169 users here now
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- 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.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
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.
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.
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.
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.
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.