mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

Co-authored-by: Juri Dispan <juri.dispan@posteo.net> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
16 lines
535 B
Markdown
16 lines
535 B
Markdown
# 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}}`
|