Skip to content

Commit fb83525

Browse files
committed
docs: We're read only by default in a container
Closes: #1461
1 parent 242f076 commit fb83525

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

docs/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343

4444
# Bootc usage in containers
4545

46+
- [Read-only when in a default container](bootc-in-container.md)
4647
- [`man bootc-container-lint`](man/bootc-container-lint.md)
4748

4849
# Architecture

docs/src/bootc-in-container.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# bootc is read-only when run in a default container
2+
3+
Currently, running e.g. `podman run <someimage> bootc upgrade` will not work.
4+
There's a variety of reasons for this, such as the basic fact that by
5+
default a `docker|podman run <image>` doesn't know where to update itself;
6+
the image reference is not exposed into the target image (for security/operational
7+
reasons).
8+
9+
## Supported operations
10+
11+
There are really just two supported operations in a container environment today:
12+
13+
- `bootc status`: This can reliably be used to detect whether the system is
14+
actually booted via bootc or not.
15+
- `bootc container lint`: See [man/bootc-container-lint.md](man/bootc-container-lint.md).
16+
17+
### Testing bootc in a container
18+
19+
Eventually we would like to support having bootc run inside a container environment
20+
primarily for testing purposes. For this, please see the [tracking issue](https://github.com/bootc-dev/bootc/issues/400).

0 commit comments

Comments
 (0)