From 1f423572d48b2b662243f84fe65e3cb933763bf4 Mon Sep 17 00:00:00 2001 From: renner0e <80410025+renner0e@users.noreply.github.com> Date: Thu, 26 Dec 2024 19:25:00 +0100 Subject: [PATCH] bootc-switch: add page (#14987) Co-authored-by: Juri Dispan Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/linux/bootc-switch.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/linux/bootc-switch.md diff --git a/pages/linux/bootc-switch.md b/pages/linux/bootc-switch.md new file mode 100644 index 000000000..525e5f250 --- /dev/null +++ b/pages/linux/bootc-switch.md @@ -0,0 +1,16 @@ +# bootc switch + +> Target a new container image reference to boot. +> More information: . + +- 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}}`