3 ms·
I feel like "docker as the preferred installation method" is a dealbreaker for me. This means that either the dependency situation is out of control, or the aut
by bigfishrunning 3y ago
I feel like "docker as the preferred installation method" is a dealbreaker for me. This means that either the dependency situation is out of control, or the author just doesn't want to think about it, but either way it's a no from me...
- plagiarist 3y agoI didn't realize this was a perspective. Yeah, that's true, the dependencies may be whack. I kinda prefer docker installations because I don't need to guess what implicit "works on my machine" dependencies someone had, and the whole thing can be mostly stateless or the extra state is made pretty obvious.
- Someguy1098 3y agoWhat don't you like about a project needing dependencies?
- evanjrowley 3y agoThere is a belief that risk of vulnerabilities introduced by insecure package ecosystems goes up with the number of dependencies. For example, a study on this was recently conducted for PyPI. https://arxiv.org/abs/2309.11021 https://arxiv.org/abs/2309.11021
- Someguy1098 3y agoBut it's inside the Docker container so even if a dependency was compromised it's in a separate userspace and chrooted so unless theres a docker zero day it should be pretty secure still it seems like. An updated Docker environment is pretty secure I think.
- DandyDev 3y agoI think Docker is a great installation method. - People who use Docker (Compose) can easily get up and running with a project in minutes - People who dislike/don’t use Docker can at least use the Dockerfile and Docker Compose file as a reference to learn how to install the dependencies and the service itself.
- caymanjim 3y agoI feel the opposite. I won't install anything except official OS packages outside Docker, if I can avoid it. Sick of polluting my filesystem with things that are hard to update, conflict with other installed packages, mess with my shell startup files, unnecessarily request root access to install, install to weird places, don't play nice with other installed packages, and on and on. Docker is not without complications, but it alleviates far more problems than it causes. I get annoyed when something is released and doesn't have an official Dockerized version. Especially when it's a web service. I'm a Python/Ruby/Javascript developer, and I don't want any part of those installed except on my dev machine. Unfortunately Python has infested too much of Ubuntu to avoid.
- robcohen 3y agoHave you given Nix a try? It's fully solved this problem for me, and it also has Dockerfile generation down great. Nothing else comes even close What's really nice is using direnv to cd into a directory and having a flake.nix file in it which changes the entire system to what I need to do in that folder. So I don't need any of my dev environment to be system-wide, everything is per project. That alone has cut my system down to pretty much just system tools (replacements for shell commands), productivity tools (Obsidian, bitwarden, etc), and my browser. It's just so nice.
- quadrifoliate 3y ago> What's really nice is using direnv to cd into a directory and having a flake.nix file in it which changes the entire system to what I need to do in that folder. How cross-platform is direnv + Nix? Do flake.nix files have macOS/Linux versions? One of the biggest advantages of using Docker images as a package format is that it's (sort of) cross-platform via Docker desktop and such on a Mac. I would prefer to use something like Nix if possible if it solves the problem a different way (being aware of platforms).
- turboponyy 3y agoDarwin is one of the supported architectures, yes, though it is a bit of a second class citizen in the Nix ecosystem when compared to x86_64-linux.
- bityard 3y agoOn the other hand, I will generally only try open source web apps if they have a docker image because I know that whatever the app does will be isolated to its container and if I don't like it, I can just "docker rm" and be done with it. Beats the tar out of the obnoxious curlpipe pattern anyway.
- deleted 3y ago[deleted]