diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-02-08 17:58:54 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-02-08 17:58:54 +0100 |
commit | 6e9306dee3278e46b46ff59fef6df88ab3987da3 (patch) | |
tree | ae2c4ed08ef94f752918e984808e6b3e7c7d440c /MANUAL | |
parent | cf77e06147da7b9de462cec8c173a1479607370c (diff) | |
download | rvnit-6e9306dee3278e46b46ff59fef6df88ab3987da3.tar.gz rvnit-6e9306dee3278e46b46ff59fef6df88ab3987da3.tar.xz rvnit-6e9306dee3278e46b46ff59fef6df88ab3987da3.zip |
docker stuff
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. |