Use a sentinel file to determine container readonly state. #1447

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-11-24 21:08:01 -07:00
parent 470fb323eb
commit 07f6402520
5 changed files with 18 additions and 19 deletions

View File

@@ -464,3 +464,14 @@ tools 1.21 or newer. Below is an example for building wwclient for arm64:
# cp wwclient /var/lib/warewulf/overlays/wwclient_arm64/rootfs/warewulf
Then, apply the new "wwclient_arm64" system overlay to your arm64 node/profile
Read-only containers
====================
A container may be marked "read-only" by creating a ``readonly`` file in its
source directory, typically next to ``rootfs``.
.. note::
Read-only containers are a preview feature primarily meant to enable future
support for container subscriptions and updates.