tozd/runit
DEPRECATED: Use tozd/dinit instead. See this issue for more details.
https://gitlab.com/tozd/docker/runit
Available as:
tozd/base
← tozd/runit
ubuntu-trusty
: runit 2.1.1ubuntu-xenial
: runit 2.1.2ubuntu-bionic
: runit 2.1.2ubuntu-focal
: runit 2.1.2ubuntu-jammy
: runit 2.1.2alpine-38
: runit 2.1.2alpine-310
: runit 2.1.2alpine-312
: runit 2.1.2alpine-314
: runit 2.1.2alpine-316
: runit 2.1.2An image using runit for service supervision.
It can serve as a good base image for other Docker images.
It sets Docker image entrypoint so runit is run automatically.
In short, to create a service create /etc/service/<name>/run
script which at the end
exec
s into the service executable you want to run (and supervise to keep running).
There is also a read-only GitHub mirror available, if you need to fork the project there.
docker pull tozd/runit