Basically Everyone Should Be Avoiding Docker
51–60 of 103 posts
Re: Basically Everyone Should Be Avoiding Docker
#52This is (basically) burger king, you can have it your way, you just have to actually learn some new shit once in a while and not just refuse to ever pick up or learn anything new.
Re: Basically Everyone Should Be Avoiding Docker
#53Re: Basically Everyone Should Be Avoiding Docker
#54Containerization is amazingly great for scientific computing. I don’t ever want to go back to doing the make && make install dance and praying I’ve got my dependency ducks in a row.
Re: Basically Everyone Should Be Avoiding Docker
#55Am I missing something? Isn't this as easy as:
docker exec -it --user /bin/bash
I used this just yesterday to get shell access to a Docker container. From there I have full access to the filesystem.
Re: Basically Everyone Should Be Avoiding Docker
#56Earlier quoted context omitted.
When I encounter a README/INSTALL that advises Docker, I start to suspect that the package is a mess. I'm sure there are legitimate usages within enterprise-y scenarios, but it has commonly become a way to paper over other issues.
This is definitely true. You see it constantly in deep learning applications, where eg NVIDIA’s fancy fp8 stuff needs C++11 ABI, so they need to compile torch from source, which means everything with C++ dependencies on torch needs to be recompiled, and eventually it’s much easier to ship a container image. It can be done with an Ansible playbook, sure, if you don’t have to ever do anything else with your machine.
I find that many of these poorly maintained build systems have very little to do with native code. Often it is a node.js server + frontend or in the case of AI, python. Some of this seems related to the current norms in those ecosystems.
Re: Basically Everyone Should Be Avoiding Docker
#57I like docker because it makes it super easy to try out apps that I don’t necessarily know that I want and I can just delete it. I’m also confused about the claim that there is no config file… everyone I know uses docker compose, that’s really the only right way to use docker, using a single docker command is for testing or something, if you’re actually using the app long term, use docker compose. Also most apps I us…
The title should be the opposite imo. Why everyone should use docker
“If a program can be easily installed on Debian and (nowadays) installed on Arch Linux, that covers basically all Linux users.”
Re: Basically Everyone Should Be Avoiding Docker
#58Why would you edit or delete files inside a running container? It’s ephemeral and supposed to be used stateless. You can attach volumes from host system if you need persistence.
Then you get into politics: you might need change XYZ for your feature, but you don't own that common image and have to rely on someone else to deploy it, so until then it's manual patches.
Re: Basically Everyone Should Be Avoiding Docker
#59Regarding a file system, in most docker containers you should be able to run "docker exec -ti sh" and you have a shell inside the container, where you *have autocomplete*,and can *run linux commands like locate*.
Regarding configuration files, that's an application issue, 99% of applications I run with docker use configuration files, because that just how you manage software. So either your BTCPay thing doesn't have a configuration file, and it would be the same than if you didn't use Docker, or it has one and you didn't know you could mount it inside the container.
And regarding the "fake" reasons :
> It’s no easier to setup a Docker file than a installation shell script, even one that runs on multiple platforms.
Um, no ? Because between "knowing the environment my code runs in" and "not knowing the environment my code runs in" of course the first option is better and easier to reason about.
> Containers can only be “easier to manage” when they strip away all of the user’s ability to manage in the normal unix-way, and that is relatively unmissed.
By unix way what do you mean ? The container is a process, you can manage the process the unix way.
The focus is in the process' environment, which is better if the end user *doesn't* have to manage it.
> Containerization makes software an opaque box where you are ultimately at the mercy of what graphical settings menus have been programed into the software. It is the nature of containers that bugs can never been fixed by users, only the official development team.
I think you just don't know how to use Docker to edit the files of your application, but it's really as easy as just editing files on linux because *the container is really just using a linux filesystem*
> People who do not know how to use Unix-based operating systems or specifically GNU/Linux.
Did you miss the fact that you need to know how to use linux to write a working Dockerfile ? Because it still runs linux !
Re: Basically Everyone Should Be Avoiding Docker
#60I've created a (working) docker image and even if the stuff in the dockerfile breaks, I still have the image and can run the damn thing.