[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / 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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: file.png (128 KB, 1200x675)
128 KB PNG
Why did it become so widespread and popular, if it's shite?
No alternatives at the time?
>>
>>110320672
Maybe it isn't as shit as you think it is.
>>
>>110320672
podman
kubernetes for clusters
>>
I just have a dedicated server and install things on it.
No idea why i would need docker as a layer in between.
When there is a vulnerability, it seems to be extra hassle to update the containers AND the system below it, rather than just the system.

The docker salsemen didn't manage to convince me.
>>
>>110320672
how is it shit exactly? it's basically just a rootfs+some package+scripts to run itself, hell i bet you could replace this shit with only chroot and some bash scripting, some program thats hardcoded to check pid 1 might complain or refuse to run, but workaround exists.
you're just angy because you got filtered.
>>
>>110320672
a lot of programmers like things to be as complicated as possible
>>
File: .png (678 KB, 2550x1650)
678 KB PNG
>>110320796
>>
>>110321023
This. It's usually the stupid ones that like complexity.
>>
File: .png (539 KB, 2550x1650)
539 KB PNG
>>110320993
>it's basically just a rootfs+some package+scripts to run itself
wrong
>>
File: 1768179071115745.jpg (12 KB, 250x246)
12 KB JPG
>>110321056
Containers are a stopgap measure against bad software engineering practices.
>you have version 2.1.1 and you need at least 2.2.4
Stop running outdated software
>I'm running an old CentOS distribution from 2014
Stop running outdated software
>server only has Python 3.5
Stop running outdated software
>inb4 but I can't update because muh stability
Have a proper testing suite to not make updates a coin flip. Developers should stop rolling out garbage hoping people would get a hotfix next hour.
>>
>>110321056
In addition to this, you also get the benefit of isolation so a breakage or fuckup with one of the services is usually going to be limited to its own container and you do not need to worry about it causing damage to the host system or interfering with other services.

I do agree that containers are sometimes overused, there is certainly a place for just installing some shit directly on your system.
>>
>>110321085
retard
>>
>>110320672
guix solves this btw
>>
>>110321056
>its easier to deploy
a single apt-get upgrade is easier than 100 times docker compose...
>>
>>110321117
>a breakage or fuckup with one of the services is usually going to be limited to its own container and you do not need to worry about it causing damage to the host system
If your container runs a service that connects to another containers database and it has database access... what do you gain with this?
>dear customers, we got hacked, all your data leaked and our servers are part of a botnet now
>BUT it is running in a container so the host system of the server itself isn't affected, rejoice!!!
>>
>>110320672
> No alternatives at the time?
Pretty much. It was first on the scene to do what it did and gained traction fast. Then once enough people start using something there's a lot of inertia to switch to something else even if that something else is better.
>>
>>110321108
your suggested tight coupling of everything is bad engineering
>>
File: 1.png (150 KB, 480x270)
150 KB PNG
>works on my machine
>ship my machine
Simple as.
>>
>>110321307
what did it do that vagrant didn't do before?
>>
Podman is pretty good.
It even has docker compatible commands for the newfags. Podman is maybe nu-redhat's only useful contribution to the gnu/linux space in the past few years.
>>
>>110321341
Docker was the full application stack, Vagrant was the entire server image which then needed some other third-party tools to install and configure your app inside once it was running. Also Docker containers spun-up in seconds while Vagrant VM's would be like booting a real physical machine and take minutes. Then there was the centralised Dock repo to make sharing images quick and easy.
>>
>>110321359
but nu-redhat dumped podman

https://www.redhat.com/en/blog/red-hat-contribute-comprehensive-container-tools-collection-cloud-native-computing-foundation
>November 14, 2024
>Today, we’re pleased to help drive cloud-native evolution further into the next-generation of IT with our intent to contribute a comprehensive set of container tools to the Cloud Native Computing Foundation (CNCF), including bootc, Buildah, Composefs, Podman, Podman Desktop and Skopeo.
>>
>>110321108
In theory, sure, everyone should run up-to-date software.
In practice, more than half of companies and organizations in the real world, private or public, run at least a piece of outdated software in some form or another.
It costs money and/or takes time to upgrade software and make sure everything run correctly, and people don't like to spend money or time on this when it works fine (until it doesn't), especially managers and executives who only care about short-term profit margins.
>>
>>110321397
>It costs money and/or takes time to upgrade software
I thought AI solved this
>>
>>110320672
I never liked docker or any kind of container distribution since they are by design not to be fucked with. I tried it briefly only to find I couldn't install my CA cert into a container without manually rebuilding the container myself.
It's just far easier to spin up a small linux instance on esxi to run that one task. 1GB of ram and one core is all it needs. On an old laptop you can fit dozens of these and have no issues. Further backups are piss easy since you just backup the whole instance and if you think you or an update might fuck it up, snapshot it first and rollback if needed.
>>
>>110321502
Sure, for personal use that's fine. But at the Enterprise level like when you need 100s or 1000s of instances and rapid dynamic auto-scaling the benefits of containers managed by something like K8s is hard to beat.
>>
>>110321502
>without manually rebuilding the container
That's one of the main issues for me, when I work with it. It's so stupid.
>>
>>110321405
You underestimate how old some infrastructure can be. I vibecode with Deepseek and I'm impressed with it, but I doubt it could deal with the complex maze of scripts invoking depreciated proprietary Oracle products running on RHEL 4 I had to maintain in a past life.
>>
>>110320672
writing systemd service files is too complicated
>>
>>110321541
That's just a badly setup container. Thinks like keys, passwords, and certs should be passed as environment variables or pulled from a (secure) repository.
>>
>>110320672
it's like wondering why young people started talking like niggers.
>>
>>110321502
Adding as certificate should be as easy as
FROM base-image:latest
COPY your.cert /use/share/certificate.cert
On your dockerfile.yml, then a rebuild should just take a minute
>>
>>110321548
That's actually the kind of shit AI is good for, especially if you have any documentation you can throw at it. I've used Claude to update a load of our legacy shit to work on modern systems.
>>
>>110321557
>systemd service files
what black magic is this I want to know more
>>
>>110320672
it's just chroot with extra kernel features
>>
>>110321502
because it's meant to be readonly, so your deployment becomes reproducible.
if you modify your system, it's unclean, no?
the idea is you deploy on a clean slate
>>
>>110321644
So this is the power of dockertards...



[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.