diff options
Diffstat (limited to 'MANUAL')
-rw-r--r-- | MANUAL | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/MANUAL b/MANUAL index 7f28f58..8a48baf 100644 --- a/MANUAL +++ b/MANUAL @@ -104,3 +104,21 @@ Rvnit is self-contained and can be booted directly as pid 1. It will mount /dev and /run when required, everything else is left to startup scripts. When receiving Ctrl-Alt-Delete, rvnit triggers an orderly reboot. + + Rvnit as init for a Docker container + +Fresh binary releases are provided in Alpine containers at +https://hub.docker.com/r/leahneukirchen/rvnit/tags + +rvnit is compiled statically, so you can copy it out if you have +different needs: + + COPY --from=docker.io/leahneukirchen/rvnit:latest /bin/rvnit /bin/ + CMD ["/bin/rvnit"] + +Note that /run must exist in the container if you want to use +the default control socket name. + +You can put the control socket onto a bind-mount and remote-control +rvnit using rvnitctl from the outside by pointing RVNIT_SOCK to the +appropriate target. |