LinuxCommandLibrary

bootc

Transactional OS updates using container images

TLDR

Show deployments in bootloader order

$ bootc status
copy
Check if updates are available
$ bootc upgrade --check
copy
Prepare a new update and reboot
$ bootc upgrade --apply
copy
Change OS base to new container image
$ bootc switch [image]
copy
Reboot into previous deployment
$ bootc rollback
copy
Apply transactional configuration changes
$ bootc edit
copy

SYNOPSIS

bootc command [options]

DESCRIPTION

bootc manages transactional, in-place operating system updates using OCI/Docker container images. It enables atomic system upgrades where the entire OS is replaced by a new container image at boot time.
The tool works with image-based Linux distributions like Fedora CoreOS and provides rollback capability if updates cause issues.

PARAMETERS

--check

Check for updates without applying them
--apply
Apply upgrade and reboot

SUBCOMMANDS

status

Show current deployments and their order in bootloader
upgrade
Fetch and stage a new version of the OS
switch
Change to a different container image
rollback
Revert to the previous OS deployment
edit
Apply configuration changes transactionally

CAVEATS

Only works on systems designed for bootc (image-based Linux distributions). Changes to root filesystem are lost unless using configuration management. Requires container image infrastructure.

HISTORY

bootc is part of the growing ecosystem of image-based Linux systems, building on technologies like OSTree and container images. It represents a modern approach to system updates pioneered by projects like CoreOS.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community