podman-machine-inspect(1)
β¨ podman-machine-inspect(1) β¨
okay bestie, welcome to the General Commands Manual entry for podman-machine-inspect β yes, the one and only. sit down, hydrate, and let's get into it π
πΈ NAME πΈ
podman-machine-inspect β Inspect one or more virtual machines
π¦ SYNOPSIS π¦
podman machine inspect [options] [name] ...
π DESCRIPTION π
Inspect one or more virtual machines.
Like, you want the greater detail tea on your Podman virtual machines? This is the command. And the best part? You can inspect more than one virtual machine at once β no need to run it a million times, we're not doing that to ourselves π
The default machine name is podman-machine-default. So if you don't pass a machine name as an argument, podman-machine-default is what gets inspected. no cap.
Rootless only. that's the vibe check, don't fight it.
π OPTIONS π
π --format
Print results with a Go template. (Yes queen, Go templates. We're fancy now π)
Here's every placeholder you can reach for, and what each one gives you:
.ConfigDir ...β Machine configuration directory location.ConnectionInfo ...β Machine connection information.Created ...β Machine creation time (string, ISO3601).LastUp ...β Time when machine was last booted.Nameβ Name of the machine.Resources ...β Resources used by the machine.Rootfulβ Whether the machine prefers rootful or rootless container execution.Rosettaβ Whether this machine uses Rosetta.SSHConfig ...β SSH configuration info for communicating with machine.Stateβ Machine state.UserModeNetworkingβ Whether this machine uses user-mode networking
π --help
Print usage statement. the classic. π«Ά
β¨ EXAMPLES β¨
Inspect the specified Podman machine.
$ podman machine inspect podman-machine-default
[
{
"ConfigDir": {
"Path": "/Users/jacksparrow/.config/containers/podman/machine/applehv"
},
"ConnectionInfo": {
"PodmanSocket": {
"Path": "/var/folders/9r/n3056v597wv2cq8s2j80bdnw0000gn/T/podman/podman-machine-default-api.sock"
},
"PodmanPipe": null
},
"Created": "2025-02-11T14:12:48.231836+05:30",
"LastUp": "2025-08-12T19:31:19.391294+05:30",
"Name": "podman-machine-default",
"Resources": {
"CPUs": 6,
"DiskSize": 100,
"Memory": 6144,
"USBs": []
},
"SSHConfig": {
"IdentityPath": "/Users/jacksparrow/.local/share/containers/podman/machine/machine",
"Port": 53298,
"RemoteUsername": "core"
},
"State": "running",
"UserModeNetworking": true,
"Rootful": false,
"Rosetta": true
}
]
Show machine name and state:
$ podman machine inspect --format "{{.Name}}\t{{.State}}"
podman-machine-default running
Show machine resource information:
$ podman machine inspect --format "Machine: {{.Name}}\nCPUs: {{.Resources.CPUs}}\nMemory: {{.Resources.Memory}} bytes\nDisk: {{.Resources.DiskSize}} bytes"
Machine: podman-machine-default
CPUs: 6
Memory: 6144 bytes
Disk: 100 bytes
Show machine configuration details:
$ podman machine inspect --format "{{.Name}}: {{.State}} (Rootful: {{.Rootful}}, User Networking: {{.UserModeNetworking}})"
podman-machine-default: running (Rootful: false, User Networking: true)
Show machine uptime information:
$ podman machine inspect --format "Created: {{.Created}}\nLast Up: {{.LastUp}}\nState: {{.State}}"
Created: 2025-02-11 14:12:48.231836 +0000 UTC
Last Up: 2025-08-12 19:31:19.391294 +0000 UTC
State: running
Show connection information:
$ podman machine inspect --format "Socket: {{.ConnectionInfo.PodmanSocket}}\nConfig Dir: {{.ConfigDir}}"
Socket: {/var/folders/9r/n3056v597wv2cq8s2j80bdnw0000gn/T/podman/podman-machine-default-api.sock <nil>}
Config Dir: {/Users/jacksparrow/.config/containers/podman/machine/applehv <nil>}
π SEE ALSO π
go read those too, iykyk π
π HISTORY π
April 2022, Originally compiled by Brent Baude bbaude@redhat.com β¨mailto:bbaude@redhat.comβ©
and that's the whole page bestie, we ate and left no crumbs π
β¨ this was podman-machine-inspect(1) straight outta the General Commands Manual β sending you love from your favorite manpage ππ¦π
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- fedora 43: podman-docker 5:5.8.4-1.fc43
- fedora 43: podman-docker 5:5.8.8-1.fc43
- fedora 43: podman-docker 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.7-1.fc44
- fedora 44: podman-docker 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- ubuntu resolute: podman-docker 5.7.0+ds2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms