Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

# Bootc usage in containers

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

# Architecture
Expand Down
20 changes: 20 additions & 0 deletions docs/src/bootc-in-container.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# bootc is read-only when run in a default container

Currently, running e.g. `podman run <someimage> bootc upgrade` will not work.
There's a variety of reasons for this, such as the basic fact that by
default a `docker|podman run <image>` doesn't know where to update itself;
the image reference is not exposed into the target image (for security/operational
reasons).

## Supported operations

There are really just two supported operations in a container environment today:

- `bootc status`: This can reliably be used to detect whether the system is
actually booted via bootc or not.
- `bootc container lint`: See [man/bootc-container-lint.md](man/bootc-container-lint.md).

### Testing bootc in a container

Eventually we would like to support having bootc run inside a container environment
primarily for testing purposes. For this, please see the [tracking issue](https://github.com/bootc-dev/bootc/issues/400).
Loading