forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}}` |