mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 15:50:22 +00:00
Update cheatsheets
This commit is contained in:
30
tldr/linux/bootc
Normal file
30
tldr/linux/bootc
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# bootc
|
||||
|
||||
> Boot and upgrade via container images.
|
||||
> Manages transactional, in-place operating system updates using OCI/Docker container images.
|
||||
> More information: <https://containers.github.io/bootc/>.
|
||||
|
||||
- Show deployments in the order they will appear in the bootloader:
|
||||
|
||||
`bootc status`
|
||||
|
||||
- Check if any updates are available:
|
||||
|
||||
`bootc upgrade --check`
|
||||
|
||||
- Prepare a new update and reboot into it:
|
||||
|
||||
`bootc upgrade --apply`
|
||||
|
||||
- Change OS base to new container image:
|
||||
|
||||
`bootc switch {{image}}`
|
||||
|
||||
- Reboot into the previous ostree deployment:
|
||||
|
||||
`bootc rollback`
|
||||
Reference in New Issue
Block a user