News for hackers. Stuff that matters.
Re:Alpine Linux is reducing dependencies on Busybox by silon42 on Thursday August 04, 2022 @02:15AM (#32339744)
How about alpine-systemd?
Re:Alpine Linux is reducing dependencies on Busybox by nine_k on Thursday August 04, 2022 @02:31AM (#32339835)
Why would Alpine need systemd? Why would you need it in a container?
Re:Alpine Linux is reducing dependencies on Busybox by Deukhoofd on Thursday August 04, 2022 @03:53AM (#32340323)
Why would you assume Alpine is only used for containers? I use it for my own local home server, as it's very lightweight and easy to tweak to how I want it.
Re:Alpine Linux is reducing dependencies on Busybox by Arnavion on Thursday August 04, 2022 @04:02AM (#32340407)
Not to mention every postmarketOS-running phone and tablet.
Re:Alpine Linux is reducing dependencies on Busybox by matthews2 on Thursday August 04, 2022 @04:38AM (#32340610)
I don't think there are many of those...
Re:Alpine Linux is reducing dependencies on Busybox by rahen on Thursday August 04, 2022 @03:11AM (#32340090)
I'm not a fan of using Alpine in containers.

Use it baremetal for your servers and desktops, then use Debian/CentOS containers on top when something is missing.

Re:Alpine Linux is reducing dependencies on Busybox by mkesper on Thursday August 04, 2022 @08:26AM (#32341918)
Sadly when playing the CVE game, Debian containers are no contest to alpine. For CentOS in a container I can see absolutely no reasons except if the SW is only tested against it.
Re:Alpine Linux is reducing dependencies on Busybox by josteink on Thursday August 04, 2022 @02:48AM (#32339940)
To make sure that once services are up and running, they keep running and are restarted automatically? To have good, centralized logging? To manage in-container services the same way you do on the container host?

There's plenty of good reasons for one to want to do so.

Re:Alpine Linux is reducing dependencies on Busybox by spockz on Thursday August 04, 2022 @03:03AM (#32340044)
I think it is counter to best practices to run multiple services in a single container. Although maybe you just need to with some proprietary software.
Re:Alpine Linux is reducing dependencies on Busybox by strzibny on Thursday August 04, 2022 @03:20AM (#32340140)
No, it's just another way how to do things.
Re:Alpine Linux is reducing dependencies on Busybox by raverbashing on Thursday August 04, 2022 @03:15AM (#32340117)
None of those things are actually needed in a container.

If you're actually doing those things inside one, you're literally doing it wrong

Yes you might have some special cases where some of this is needed but I'd use anything besides systemd

Re:Alpine Linux is reducing dependencies on Busybox by btbuilder on Thursday August 04, 2022 @03:30AM (#32340197)
Some use-cases do require an init-providing process of some sort but you likely want to use tini.

See for more details: https://github.com/krallin/tini/issues/8#issuecomment-146135...

Re:Alpine Linux is reducing dependencies on Busybox by otabdeveloper4 on Thursday August 04, 2022 @06:43AM (#32341321)
a) Starting all your services and shims and mocks inside a CI/CD tests container is not "doing it wrong"; in fact, it's the only correct way to do it.

b) systemd is the only thing that can start services cleanly and correctly. Every other solution is in various states of brokenness.

Re:Alpine Linux is reducing dependencies on Busybox by megous on Thursday August 04, 2022 @05:00AM (#32340730)
All of the cheap Linux container hosting services are doing it wrong, I guess.
Re:Alpine Linux is reducing dependencies on Busybox by nine_k on Thursday August 04, 2022 @06:53AM (#32341365)
Many of them offer k8s out of the box.

I still think that orchestration should live outside containers, whether within one box or several. BTW systemd has some vestiges of container orchestration built in.

OTOH there are other approaches; say, LXD directly assumes an ecosystem of processes within a container, more akin to a VM than to a single chroot-ed / jailed service process.

Re:Alpine Linux is reducing dependencies on Busybox by megous on Thursday August 04, 2022 @12:58PM (#32345411)
> OTOH there are other approaches; say, LXD directly assumes an ecosystem of processes within a container, more akin to a VM than to a single chroot-ed / jailed service process.

Those are what I had in mind. Basically cheaper VPS like service but built on Linux container tech instead of full virtualization. Maybe they are less of a rage these days, when fully virtualized KVM/Vmware VPS are so cheap. But about 5 years ago I did run my email server, webserver and database on such a container for $1-1.5$/mo. When I was able to switch to full virtualization at similar price point, I did. But there's nothing weird about runing multiple different processes in a "container" :)