Is there a way to start runit
See original GitHub issueHi,
I was wondering if it was possible to combine this with runit, explicitly making this container work: https://github.com/dockage/alpine-runit/blob/master/Dockerfile#L29 I have tried all kind of things like replacing the CMD
with:
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["/sbin/runit-init"]
But when I use the above and I start the container I get usage: /sbin/runit-init 0|6
.
I could get it to work with CMD ["runsvdir", "-P", "/service"]
, but I would like to use the files that are being used by the image in /etc/runit
(see https://github.com/dockage/runit-scripts/tree/master/alpine/etc/runit).
So is there a way to get this to work?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
runit-quickstart - GitHub Pages
The purpose of this tutorial is to get you up and running with runit as quickly as possible. According to the official documentaion,...
Read more >Runit - ArchWiki
Runit is a process supervisor. It includes runit-init , which can replace sysv's init as pid1, or can be run from inittab or...
Read more >Setting up a Functional runit Service | 25 Days of Linux - Medium
runsv : It starts and monitors the service (and optionally the log service associated with the service if created). It is a crucial...
Read more >runit - a UNIX init scheme with service supervision
runit is a cross-platform Unix init scheme with service supervision, a replacement for sysvinit, and other init schemes. It runs on GNU/Linux, *BSD,...
Read more >Use runit! - Mike Perham
Compare that with a typical init.d script which might be 50+ lines of bash! Now that we've defined the process and told runit...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Ilyes512 I have explained how to start runit in another issue. https://github.com/Yelp/dumb-init/issues/158#issuecomment-369358986
I realize you’re trying to use runit differently but just adding another concrete example of runsvdir.
@samrocketman I already solved this and I probably came across your answer back then 😃.
Thanks! I am closing this.