Skip to content

Commit

Permalink
bootc-switch: add page
Browse files Browse the repository at this point in the history
  • Loading branch information
renner0e committed Nov 28, 2024
1 parent 0f652c7 commit 93e3e01
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pages/linux/bootc-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# bootc switch

> Target a new container image reference to boot.
> More information: <https://containers.github.io/bootc/man/bootc-switch.html>.
- Change OS base to a new container image from a registry:

`sudo bootc switch {{image}}`

- Change OS base to a new container image from the local image storage of the root user:

`sudo bootc switch --transport containers-storage {{image}}`

- Change OS base to a new container image stored in a tarball:

`sudo bootc switch --transport oci-archive {{path/to/image.tar.gz}}`

0 comments on commit 93e3e01

Please sign in to comment.