Create bootc-setup.adoc#85
Open
Geoff160 wants to merge 1 commit into
Open
Conversation
Create basic IoT bootc docs. More to come...
nullr0ute
reviewed
Nov 12, 2024
| Since the launch of Fedora 41, Fedora IoT has supported bootable containers (bootc). | ||
| Bootable containers are similar in function to other containers (like Podman), but allow the user to boot into the container as an immutable system. | ||
| Any updates or package installs are then layered on top of the base bootc image, allowing rollbacks in the event of an issue. | ||
| Each bootc image ships with a kernel, bootloader, drivers, etc, rendering them fully bootable and not requiring a container manager (Podman, Kubernetes, etc). |
Member
There was a problem hiding this comment.
This is a bit weird, you would/could still use a container manager such as podman to maintain applications, the container in the bootc case is mechanism for maintaining the base OS.
|
|
||
| == Installing/Layering Packages onto the Bootable Container | ||
|
|
||
| Installing packages is the same as on an ostree Fedora IoT image and retains the same rpm-ostree functionality: |
Member
There was a problem hiding this comment.
That is incorrect, you use dnf.
| Installing packages is the same as on an ostree Fedora IoT image and retains the same rpm-ostree functionality: | ||
|
|
||
| ---- | ||
| sudo rpm-ostree install htop |
| sudo bootc switch registry.fedoraproject.com/fedora-iot:latest | ||
| ---- | ||
|
|
||
| The following can be used to ensure the image has been downloaded and set for boot. |
Member
There was a problem hiding this comment.
Please put an example output here rather than saying "Look for XXX"
| Also, check that the `rollbackQueued:` field shows `true`. | ||
|
|
||
| ---- | ||
| sudo bootc status |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Create basic IoT bootc docs. More to come...