mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00

Podman machine os apply takes a takes a OCI image with container native ostree functionality and rebases the machine os on that image. Currently, this requires the guest os inside the vm to use rpm-ostree. When specifying an image, any container transport may be specified. If a container transport is not specified, OS apply will attempt to search the local containers-storage for the image, and if it is not found, it will then attempt to use the Docker transport to pull from a remote registry. The architecture of OS apply is as follows: podman machine os apply ssh's into the machine and calls podman machine os apply. on the secondary call to podman machine os apply, apply recognizes that it is inside the machine and does image operations, and finally calls rpm-ostree rebase. Tests are written but commented out, due to the chicken-and-egg problem. Signed-off-by: Ashley Cui <acui@redhat.com>
869 B
869 B
% podman-machine-os 1
NAME
podman-machine-os - Manage a Podman virtual machine's OS
SYNOPSIS
podman machine os subcommand
DESCRIPTION
podman machine os
is a set of subcommands that manage a Podman virtual machine's operating system.
SUBCOMMANDS
Command | Man Page | Description |
---|---|---|
apply | podman-machine-os-apply(1) | Apply an OCI image to a Podman Machine's OS |
SEE ALSO
podman(1), podman-machine(1), podman-machine-os-apply(1)
HISTORY
February 2023, Originally compiled by Ashley Cui acui@redhat.com