@pingviini@i@pomstan--80asehdb in a lot of cases containerization is what you do when you slapped together some shit without thinking about dependencies or deployment. not always but often!
@pomstan--80asehdb @i@pingviini@Moon Not sure about k8s, but last time I used docker, base alpine and debian images pulled a rather complete system, and some of the other public images like php or postgres used to be based off them.
@pomstan--80asehdb @Moon@i@pingviini That said, all my experience with docker comes form hosting an ochkoparasha clone that didn't have a dockerless install method at the time.
@mint@i@pingviini@pomstan--80asehdb I took a multi day training course on k8s so I am not totally full of shit but I have zero practical experience, my main takewaway was get this shit away from me as fast as possible.
docker often have a package manager in there to install deps but instead of calling systemd with pid 1 you just call your program so while there's a full OS on disk in there it's not running the full OS
@pomstan--80asehdb @i@pingviini@mint I was autistically creating the tiniest docker images I could until I had a problem and it was impossible to debug, yeah
@Moon@i@pingviini@pomstan--80asehdb The shit I was talking about used to launch a shell script which then starts a node process with supervisord. And yeah, it's based on debian.
@mint@i@pingviini@pomstan--80asehdb I think I have seen this multiple times for node apps although I admit I don't understand why, I think they are trying to avoid a full container restart (why?)
@mint@i@pingviini@pomstan--80asehdb I have mostly used LXC which is containerization that does use a full init system where the internal systemd is linked to the host systemd via dbus. there are advantages to this but the main disadvantage I ran into was that the host was spewing all its systemd logs into every single container's systemd. honestly linux containers is such a buggy mess that I finally gave up on them recently and have been ripping all my stuff out of containers.
@Moon@i@pingviini@pomstan--80asehdb All my containers are LXC, and the one Debian container I still have (I think it was due to Namecoin segfaulting when built with Alpine's libc) doesn't seem to spew anything into host's init. Maybe it needs to be set up separately, idk.
@mint@i@pingviini@pomstan--80asehdb these bugs are likely at the OS level, if I were running Debian instead of Ubuntu I would probably have no problem.
@pomstan--80asehdb @i@pingviini@mint I just found that online community support was nonexistent, there is a linux containers forum that everybody important was in but questions sit in there for years without answers. I was running into definite bugs but the features apparently worked in other distributions.
in one particular case I was trying to use cpu affinity and cpu quota, and my containers would crash on start. unless I started them in the foreground. I found many cases where things only worked in foreground (worthless unless I want to use tmux as my init system)
OrangeFren Forum, 🎟️ MoneroKon ticket giveaway, 🇨🇭🇮🇹 eXch meetup, Prepaid Cards & Affiliate Programme (forum.orangefren.com)
Hello frens! We have a lot of news so we’ll be breaking this post up into sections....