HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

bootc — Boot and upgrade via container images. Manage transactional, in-place operating system updates using

Submitted by: @import:tldr-pages··
0
Viewed 0 times
upgradecommandandviabootclicontainerbootc
linux

Problem

How to use the bootc command: Boot and upgrade via container images. Manage transactional, in-place operating system updates using OCI/Docker container images. More information: <https://manned.org/bootc>.

Solution

bootc — Boot and upgrade via container images. Manage transactional, in-place operating system updates using OCI/Docker container images. More information: <https://manned.org/bootc>.

Show deployments in the order they will appear in the bootloader:
bootc status


Check if any updates are available:
bootc upgrade --check


Prepare a new update and reboot into it:
bootc upgrade --apply


Change OS base to new container image:
bootc switch {{image}}


Reboot into the previous ostree deployment:
bootc rollback


Apply transactional changes to the system configuration:
bootc edit

Code Snippets

Show deployments in the order they will appear in the bootloader

bootc status

Check if any updates are available

bootc upgrade --check

Prepare a new update and reboot into it

bootc upgrade --apply

Change OS base to new container image

bootc switch {{image}}

Reboot into the previous ostree deployment

bootc rollback

Context

tldr-pages: linux/bootc

Revisions (0)

No revisions yet.