[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


I don't get the point. Just run the software normally without stupid bloat. "Accelerated Development" and "Deployment' are buzzwords that should qualify for mandatory castration.
>>
>>106600901
>install all the dependencies into your operating system before you can run the application
>or just run it in a container
it's just comfy sometimes op
>>
some software talks to a database of a specific version using a lib of a specific version with specific cron jobs and expects specific users to exist on the OS.
this is what containers like Docker provide
>>
>>106600901
I feel like we are at the point where disk space is so plentiful that it's no big deal if two programs redundantly include the same library in their standalone executables.
>>
>unemployed: the thread
and you niggers complaints getting replaced by streetshitter
lmaoing@urlife
>>
>>106600901
Honestly it's something only good when you consider virtualization or in some personal cases of self-hosting.
>>
>>106600916
What if you remove all the decencies? or you bundle the dependencies with your project? or better yet you deploy your application as a single binary?
>>
>>106600941
how are those things not bloat but building a docker image is bloat? an image is literally just your application with all the dependencies bundled in it.
>>
>>106600941
>bundle the dependencies with the project
this is what Docker does you fucking oaf
once fucking again, some applications are actually multiple programs running at the same time and communicating (a database and a server for example)
>>
containers are the solution to shit ass devs (python) leaving trash all over your system
>>
>>106600901
I thought those were for servers.
>>
>>106600901
Isn't one of the benefits being able to move a server stack to a different machine easily?
>>
>>106600951
Docker images can contain system utilities, sir.
>>
>>106600901
it seems useless until you start working with native dependencies
>>
>>106600993
>My system has an extra copy of ls
The horror!
>>
>>106600993
no shit, where the fuck is your reading comprehension
>>
>>106601017
Minor correction:
>it seems useless until you start working
>>
I respect people calling out unnecessary bloat, but if I want to have 10 different web services running on one machine, and access each of them at [service].[host].lan, containers + Traefik just works.

  virtualisation.oci-containers.containers."mainsail" = {
autoStart = true;
image = "ghcr.io/mainsail-crew/mainsail";
volumes = [
"/persist/containers/mainsail/config.json:/usr/share/nginx/html/config.json"
];
labels = {
"traefik.http.routers.mainsail.rule" = "Host(`mainsail.services.lan`)";
};
};
>>
>>106601123
>web services
bloat
>>
>>106601138
are you fucking gay in the head reatrd?
>>
some of use use their machine for work and not just youtube and chat gpt
>>
File: 1754016962701006.jpg (188 KB, 720x695)
188 KB
188 KB JPG
containerization does for dependencies what operating systems do for processes and memory: it allows each program to behave, or at least pretend, as if it had a whole computer all to itself. the same way running raw assembly would be more resource efficient than running an OS, it of course introduces some overhead.

however, consider that hardware these days is more plentiful than intelligent humans. you can get 2TB nonvolatile memory for a little over one hundred bucks.
>>
>>106600901
I recently ran into the need to run software that only worked on Ubuntu 20.04 that wouldn't work on my Ubuntu 24.04 and I used docker for that.

Could use a vm but that uses more bloat/resources so was a comfy way to sort out the issue.

It's good for hosting services in different containers so that the dependencies are separated or in the case of a web server you can easily spin up and shut them down as load changes.

But wouldn't bother with it for my personal computer. I also have production web servers that just have everything installed on the VPS which is fine imo but once you start needing to scale horizontally it will be more challenging.

Also Imo it's best to learn how to setup shit without docker first then use docker when needed.
>>
>>106600901
it's nice when I have a project with a frontend and a backend
>>
>>106602185
Buzzwords
>>
"Docker" sounds cool to say
>>
>>106601734
Nice analogy
>>
>>106602200
>eternally neet and proud of it!
>>
>>106600941
ok so how do I bundle an audio server client or opengl drivers?
maybe if all you do is twiddle bits and blast them at a TTY you can go without dynamic linking, but eventually reality becomes real.
>>
>>106601123
or just dont be a stupid nigger and use nginx/apache??
>>
>>106602963
use case?
Traefik does the right thing(tm) out of the box for most revproxy needs unlike shit ass nginx. the only reason you should be using nginx in 2025 is because you have massive baby duck or need to serve static files as well.
haproxy or some custom bespoke revproxy will heem it.
>>
>>106600901
Tell me you are unemployed without telling me you are unemployed
>>
>hmm I need to test these queries, let me just..
A: install a whole fucking MySQL Server on my desktop and learn the configuration file locations and use up a host port
B: create a docker file and run it
>>
>>106600901
Because I am not installing and uninstalling different services to a the test environment hundreds of times when I test different builds for bugs retard
>>
File: confused black man.jpg (15 KB, 484x413)
15 KB
15 KB JPG
>>106603343
>>106602945
>>106601190
>>106600935
So people in the 90's were unemployed?
>>
File: todd_[the_rod]_howard.jpg (24 KB, 300x174)
24 KB
24 KB JPG
>>106600901
>Be me
>Set up TrueNAS
>Create Traefik Container
>Create Some Service Containers (OwnCloud etc.) with labels for traefik routing
>Have my own basic cloud infrastructure set up in less than 30 minutes including automatic SSL, subdomain routing, ...
>Can easily add services by just spinning up another container
>
>Be also me, at work
>Shit this fr*nch software needs a specific version of tomcat and java
>docker_compose.yml
>Up and running in 10 minutes
It just works
>>
>>106603386
this. I run kind or podman kube play nowadays instead of just running random containers, but same shit.
>>
>>106603386
>I need to test these queries
>doesn't have database installed
so you don't test those queries
>>
>>106600901
https://www.youtube.com/watch?v=sb1T9205ZY8
>>
>>106603414
You are unemployed now aren't you?

I know it's bait but I will humor you. Docker allows you to ship your entire application with its depencies. That means all you have to do is start the container and it just works. No fiddling with environment configs, local libraries, obscure undocumented configs that someone changed without telling anyone. This allows us to deploy faster at larger scale than was possible in the 90s. Because in the 90s there was far less traffic and applications were simpler so you could afford to have a sysadmin babysit your servers and keep them running though the successive application changes. This approach, although it worked 30 years ago is not sustainable anymore. Now the responsibility falls onto the application developer to ship a working container instead of expecting ops to figure out how to run their latest slop.
>>
>>106603508
>deploy
Buzzword.
>in the 90s there was far less traffic and applications were simple
Your fault for writing over engineered apps.
>This approach, although it worked 30 years ago is not sustainable anymore
Translation: "This approach is not sustainable for H1B applicants".

Shit used to work and nobody complained. In fact, everybody reaped the benefits of applications being "simpler" since you could run a whole desktop operating system with 64 MB of RAM. People's use cases haven't changed; only programmer competence has.
>>
>>106603469
his point is you containerize the services (and likely test data) in one shot for everyone to use.
>>
>>106603559
retards like you are so deranged. all the boomer trash from 2005 I still have to deal with is some of the shittiest software of all time, with piss poor configuration management, fun and exciting segfaults (and no useful stack traces since the binary is some anti-debugger encrypted shit app) and blocks the main UI thread with HTTP requests. Software is a lot easier to write correctly in 2025, even if it's electron bloatmaxx aids. you can seethe, but it's strewth. the world runs on some of the shittiest 90s/2000s shitware and you're a delusional zoomer faggot.
>>
How do Windows users get by without containers? Mac users too. Linux should just do whatever they do.
>>
>>106603608
>retards like you are so deranged
Retards like me also cannot run a desktop OS with 64 MB of RAM anymore. That's not the consumer's fault lol.
>I still have to deal with is some of the shittiest software of all time, with piss poor configuration management, fun and exciting segfaults (and no useful stack traces since the binary is some anti-debugger encrypted shit app) and blocks the main UI thread with HTTP requests
This is all an admission that you are not as talented as yesterday's programmers, and this lack of talent trickles down to worse and worse software for consumers.
>>
>>106603414
>I am a 90's kid, that's my identity and who I am, when I hear about new things I consider them from the perspective of a 90s kid, my parents will never die and everything is permanent, objects belong to categories and they ought to behave in line with my past experiences with the category, I am my thoughts and separate from everything else
>>
>>106603636
>Retards like me also cannot run a desktop OS with 64 MB of RAM anymore
that is the reality of the world.
solutions need ram, not having segfaulty unusable shit needs ram. it's that simple.
>>
>>106603648
>they ought to behave in line with my past experiences with the category
They ought to be at least as efficient
>>106603705
Then howcome shit just werked back in the day?
>>
>>106603714
>Then howcome shit just werked back in the day?
it didn't and it doesn't today you stupid nigger faggot.

turn of the millenium, a lot of the shit you claimed just worked had like 100+ developers working tireless to shit out broken shit that can't be connected to malicious I/O, but sure, it "worked" otherwise. Nowadays, those same shitty projects that run virtually every facet of your world is run on teams of like 5 devs (many outsourced to third party contractors, incl Indians).
>>
>>106603729
So it's a crisis of competence.
>>
>>106603737
>I'm a mentally retarded lead poisoned contrarian giga boomer who doesn't know how the real world works and let me tell you how based and trad the past was based on my rose tinted nostalgia.

Kill yourself. Get a real job.
>>
>>106600901
OP vibeshits out some code but cant deploy it because he has arrested development instead of accelerated development
Is that it?
>>
>>106603751
It's a simple fact that a text editor used to fit within 64 MB of RAM and now doesn't. There's no reason that should've changed. There's also no reason why my Start Menu should be an electron app instead of being written in C specifically for the Windows Shell.
>>
>>106603985
>There's no reason that should've changed
based on what? we now live in a multi lingual world, with massive font rasterization stacks with vector font VMs, bidirectional text handling, compositions and more.

this isn't 1999 anymore, boomer bitch.
>>
>>106604184
>stacks
Buzzword.
>vector font VMs, bidirectional text handling, compositions and more.
All I'm hearing is that you need more space to fit your spyware. Not to mention that everything you just listed should be handled by the display server or whatever anyway.
>>
>>106604184
>multi lingual world
Also, imagine thinking that a language pack for Notepad should be remotely heavyweight.
>>
>>106604259
>link in font rendering library
>code is not bigger
that's how it works, retard-kun.
>>
>>106604306
Dude, the "font rendering library" should be a core system component loaded into RAM only once, and universally relied upon by programs. Having each program bundle its own stupid libraries to do shit that is already achievable via leveraging the Windows Shell is just fucking dumb and reeks of H1B.
>>
>>106600901
because
> scenario 1: i want to distribute the services i host to someone else with minimal maintenance overhead and a guarantee that it's set up nearly exactly as mine
> scenario 2: a server gets compromised and needs to be rebuilt to guarantee safety
now our two approaches
> container/vm: either google how to rebuild everything or have notes kept for every single action and hope that dependencies don't break
OR
> docker: docker run lmao --env-file. env --restart-policy always
if you people wonder why you're never getting work done and constantly redeploying your server its because of things like this
>>
>>106602958
If you need to bundle an opengl driver you are doing it wrong.
>>
>>106604452
ok, so how do you remove all dependencies then fucking retard? a libgl* is a dependency with an ABI as well. have fun.
>>
>>106604364
>loaded into RAM only once
what are:
page dedupe timing side-channels caused by CoW

in practice, deduping pages isn't worth it.
>>
>NEET doesn't know what docker is for
>Inane babbling about his desktop software (despite the fact that docker serves a completely different purpose)
>Claims software used to "just work" back when he wasn't born (it didn't)
>Muh competency crisis
>Confidently keeps exposing his lack of employment and lack of software development experience
Embarrassing desu
>>
>>106604466
No it's not, different vendors provide you a libgl implementation that works for your graphics card, you should not distribute it, you are part of the problem,
>>
>>106604677
it's a dependency which has a fucking ABI that can break. period. what part of that do you not understand you stupid faggot?
>>
>>106603414
people in the 90's were too stupid to come up with copy-on-write
>>
File: s3zz8gkhc4bf1.jpg (93 KB, 1079x928)
93 KB
93 KB JPG
>>106603737
>t.
>>
File: 1737222734948096.png (13 KB, 788x120)
13 KB
13 KB PNG
Can docker save me from this!?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.