The officially official Devuan Forum!

You are not logged in.

#1 2025-03-26 19:23:20

SamuelMarks
Member
Registered: 2025-03-26
Posts: 2  

Init systems: openrc on Docker and systemd outside? - Debian/Devuan b…

I am playing around with init systems to try and get a consistent experience whether inside or outside of Docker.

So outside of Docker default OS+distribution init system (e.g., systemd, openrc); but inside Docker I am figuring things out.
Lots of s6-overlay proponents… but what do you think of just openrc on debian derived distributions?

Explicitly: my use-case is creating deployment scripts where the same script can be used on any [Linux] distribution both inside or outside of Docker. I would also prefer not to maintain a large number of init scripts per deployment; but rather rely on some third-party to maintain this (e.g., Devuan, Debian, Alpine Linux, &etc.); preferably the same [first-party] maintainer as the base distribution.

Thanks for your insights

Offline

#2 2025-03-26 21:43:08

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 667  

Re: Init systems: openrc on Docker and systemd outside? - Debian/Devuan b…

Hi, Openrc is working fine for my system. I haven't tried any others since I got off systemd when I started using Devuan (ASCII).

I haven't used Docker, so I have nothing to contribute there.

Welcome to Devuan Forum. :-)


pic from 1993, new guitar day.

Offline

#3 2025-03-26 22:40:21

SamuelMarks
Member
Registered: 2025-03-26
Posts: 2  

Re: Init systems: openrc on Docker and systemd outside? - Debian/Devuan b…

@GlennW - Thanks for the reply; my first post your 666th! 😈

Yeah for openrc I saw a good stackoverflow answer @ https://stackoverflow.com/a/78270127 that I'm thinking to apply everywhere, and steal OpenRC files from Alpine with some basic sed/awk to match paths with what debian/devuan expects. E.g., for PostgreSQL.

But yeah really want to know other folks experience with Docker and whether openrc is the best solution considering aforementioned requirements.

Offline

#4 2025-03-27 21:59:39

lynch9
Member
Registered: 2024-07-17
Posts: 21  

Re: Init systems: openrc on Docker and systemd outside? - Debian/Devuan b…

if you're looking for something tailored specifically for Docker, something like s6-overlay or supervisord could be worth it for their simplicity and focus on process supervision in containers, from what I understand about them

Tried openrc with Void, but I'm a big sysv fan ;D

Not much to add either.


Hey, it's lynchian9.
Feel free to reach out via email.

Offline

Board footer