1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 13:57:07 +02:00

bootc-switch: add page (#14987)

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
renner0e 2024-12-26 19:25:00 +01:00 committed by GitHub
parent 90a67cbe63
commit 1f423572d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 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}}`