Skip to content

Commit

Permalink
docs: Expand on HEALTHCHECK
Browse files Browse the repository at this point in the history
This one deserves a special entry.

Signed-off-by: Colin Walters <walters@verbum.org>
  • Loading branch information
cgwalters committed Apr 10, 2024
1 parent 42571bd commit 462e853
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/src/building/bootc-runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,20 @@ function at runtime.
### `USER` (OCI: `User`)

Ignored by bootc; typically you should configure individual services inside
the bootc container to run as unprivileged users instead.
the bootc container to run as unprivileged users instead.

### `HEALTHCHECK` (OCI: *no equivalent*)

This is currently a Docker-specific metadata, and did not make it into the
OCI standards. (Note [podman healthchecks](https://developers.redhat.com/blog/2019/04/18/monitoring-container-vitality-and-availability-with-podman#))

It is important to understand again is that there is no "outer container runtime" when a
bootc container is deployed on a host. The system must perform health checking on itself (or have an external
system do it).

Relevant links:

- [bootc rollback](man/bootc-rollback.md)
- [CentOS Automotive SIG unattended updates](https://sigs.centos.org/automotive/building/unattended_updates/#watchdog-in-qemu)
(note that as of right now, greenboot does not yet integrate with bootc)
- <https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT/>

0 comments on commit 462e853

Please sign in to comment.