Replies: 1 comment
-
"rc_sys" configuration is used when OpenRC running inside a container is not able to detect that is running inside a container.
From text above, we know "how to decode" the list:
I guess that you can unpack a Stage 3 and configure OpenRC as supervisor, then "repack" it as docker image and try your luck. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
OpenRC can be used as process supervisor since OpenRC-0.21 and
it seems current openrc has "docker" support according to /etc/rc.conf.
Is there documentation for openrc as process supervisor under docker container(and other supported) environment?
NOTE: Those who are trying to use openrc with Alpine docker image, just create docker image with "apk add openrc" and start /sbin/init as PID=1. e.g. docker run --rm --name $NAME $CONTAINER_NAME /sbin/init Then you will have working "rc-service", etc. i.e. No "* WARNING: XXXXX is already starting". You don't need TTY on docker, comment out all tty settings in /etc/inittab to prevent useless errors.
Beta Was this translation helpful? Give feedback.
All reactions