bootc-install - Man Page

bootc-install - Install the running container to a target

Synopsis

bootc install [OPTIONS...] <SUBCOMMAND>

Description

Install the running container to a target.

Understanding installations

OCI containers are effectively layers of tarballs with JSON for metadata; they cannot be booted directly. The bootc install flow is a highly opinionated method to take the contents of the container image and install it to a target block device (or an existing filesystem) in such a way that it can be booted.

For example, a Linux partition table and filesystem is used, and the bootloader and kernel embedded in the container image are also prepared.

A bootc installed container currently uses OSTree as a backend, and this sets it up such that a subsequent bootc upgrade can perform in-place updates.

An installation is not simply a copy of the container filesystem, but includes other setup and metadata.

Subcommands

CommandDescription
bootc install to-diskInstall to the target block device
bootc install to-filesystemInstall to an externally created filesystem structure
bootc install to-existing-rootInstall to the host root filesystem
bootc install finalizeExecute this as the penultimate step of an installation using install to-filesystem
bootc install ensure-completionIntended for use in environments that are performing an ostree-based installation, not bootc
bootc install print-configurationOutput JSON to stdout that contains the merged installation configuration as it may be relevant to calling processes using install to-filesystem that in particular want to discover the desired root filesystem type from the container image

Version

v1.10.0

Referenced By

bootc-install-to-disk(8), system-reinstall-bootc(8).