File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 ) .
You can’t perform that action at this time.
0 commit comments