File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,15 @@ Let's however restate a base goal of this project:
20
20
Every tool and technique for creating application base images
21
21
should apply to the host Linux OS as much as possible.
22
22
23
+ ## Understanding mutability
24
+
25
+ When run as a container (particularly as part of a build), bootc-compatible
26
+ images have all parts of the filesystem (e.g. ` /usr ` in particular) as fully
27
+ mutable state, and writing there is encouraged (see below).
28
+
29
+ When "deployed" to a physical or virtual machine, the container image
30
+ files are read-only by default; for more, see [ filesystem] ( ../filesystem.md ) .
31
+
23
32
## Installing software
24
33
25
34
For package management tools like ` apt ` , ` dnf ` , ` zypper ` etc.
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ enabled = true
16
16
17
17
This will ensure that the entire ` / ` is a read-only filesystem.
18
18
19
+ ## Understanding container build/runtime vs deployment
20
+
21
+ When run * as a container* (e.g. as part of a container build), the
22
+ filesystem is fully mutable in order to allow derivation to work.
23
+ For more on container builds, see [ build guidance] ( building/guidance.md ) .
24
+
25
+ The rest of this document describes the state of the system when
26
+ "deployed" to a physical or virtual machine, and managed by ` bootc ` .
27
+
19
28
## Understanding physical vs logical root with ` /sysroot `
20
29
21
30
When the system is fully booted, it is into the equivalent of a ` chroot ` .
You can’t perform that action at this time.
0 commit comments