2024-12-26 19:25:00 +01:00
|
|
|
# bootc switch
|
|
|
|
|
|
|
|
> Target a new container image reference to boot.
|
2025-06-01 12:10:39 +02:00
|
|
|
> More information: <https://manned.org/bootc-switch.8>.
|
2024-12-26 19:25:00 +01:00
|
|
|
|
|
|
|
- Change the base OS to a new container image from a registry:
|
|
|
|
|
|
|
|
`sudo bootc switch {{image}}`
|
|
|
|
|
|
|
|
- Change the base OS to a new container image from the local image storage of the root user:
|
|
|
|
|
|
|
|
`sudo bootc switch --transport containers-storage {{image}}`
|
|
|
|
|
|
|
|
- Change the base OS to a new container image stored in a tarball:
|
|
|
|
|
|
|
|
`sudo bootc switch --transport oci-archive {{path/to/image.tar.gz}}`
|