podman-mac...-os-upgrade(1)
π NAME π
podman-machine-os-upgrade β glow-up time for your Podman Machine's OS β¨
π SYNOPSIS π
podman machine os upgrade [options] [vm]
πΈ DESCRIPTION πΈ
Okay so bestie, this is the command that gives your Podman Machine's OS a whole new era π¦
It automatically performs an upgrade of the Podman Machine OS, following the logic down there in the upgrade-logic section. But heads up β if you want to apply a custom image, or an image with a specific digest, that's a different vibe: use podman machine os apply instead, okay? π
The default machine name is podman-machine-default. So if you don't pass a machine name as an argument, the OS changes get applied to podman-machine-default. She's the main character by default, that's just how it is π
The machine must be started for this command to be run. No starting, no slaying. Periodt.
Note: this command is not supported with the WSL machine provider π like, it's just not invited to that party, sorry.
β UPGRADE LOGIC β
The upgrade function compares the client version against the machine version using semantic versioning β major.minor only, patch levels get ignored entirely, we don't see them, they're not on the guest list π«Ά
And when the versions match, it also queries the online registry to check for image updates. Obsessed with an overachiever.
- Client version older than machine version (downgrade): returns an error π Downgrading is not supported, full stop, because it can cause incompatibilities. Update your Podman client to match or exceed the machine version. Fr fr, no cap.
- Client version equals machine version (in-band update): checks for updates to the same version stream by comparing the local OS image digest against the registry's digest. This handles two scenarios:
- Patch version updates (e.g.,
6.0.1β6.0.2) π - OS image refreshes with the same Podman version (e.g.,
6.0.1β newer OS build with6.0.1) β¨
- Patch version updates (e.g.,
- If an in-band update exists, the machine gets updated to the new image using its digest reference. And if no update is available? The function just reports that the system is current. She's fine, she's thriving, she's up to date π
- Client version newer than machine version (major/minor upgrade): upgrades the machine OS to match the client's major.minor version π₯ The upgrade targets a new version tag constructed from the client's major and minor version numbers β like, e.g., upgrading from
6.0.xto6.1when the client is version6.1.0. It's giving level up energy.
β¨ OPTIONS β¨
--dry-run,-nβ Only perform a dry-run of checking for the upgrade. No content is downloaded or applied. Like window shopping bestie, looking only ποΈ This option cannot be used with--restart.--format,-fβ Define a structured output format. The only valid value for this isjson. Using this option implies a dry-run. This option cannot be used with--restart.--helpβ Print usage statement. Your little manual, right here π--restartβ Restart the VM after applying changes. Fresh OS, fresh start, new me π
π₯ EXAMPLES π₯
Update the default Podman machine to the latest in-band version, or update the machine to match the client Podman version:
$ podman machine os upgrade
Same as above but specifying a specific machine:
$ podman machine os upgrade mymachine
Check if an update is available but do not download or apply the upgrade:
$ podman machine os upgrade -n
Check if an update is available but the response will be in JSON format. Note this exposes a boolean field that indicates if an update is available π
Note: using a format option implies a dry-run.
$ podman machine os upgrade -f json
π¦ SEE ALSO π¦
podman(1), podman-machine(1), podman-machine-os(1)
π HISTORY π
January 2026, originally compiled by Brent Baude bbaude@redhat.com β¨mailto:bbaude@redhat.comβ© βοΈ
And that's the whole page, bestie β podman-mac...-os-upgrade(1) from the General Commands Manual, dated January 2026, and she ate π
π§ββοΈπΈ
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms