|
NAMEpodman-machine-inspect - Inspect one or more virtual machines SYNOPSISpodman machine inspect [options] [name] ... DESCRIPTIONInspect one or more virtual machines Obtain greater detail about Podman virtual machines. More than one virtual machine can be inspected at once. The default machine name is podman-machine-default. If a machine name is not specified as an argument, then podman-machine-default will be inspected. Rootless only. OPTIONS--formatPrint results with a Go template.
--helpPrint usage statement. EXAMPLESInspect the specified Podman machine. $ podman machine inspect podman-machine-default [ 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 ALSOpodman(1), podman-machine(1) HISTORYApril 2022, Originally compiled by Brent Baude bbaude@redhat.com ⟨mailto:bbaude@redhat.com⟩
|