podman-machine-info(1)

πŸ“¦
version 6.1.4 Β· 4 versions
, in arch rolling, fedora 43, fedora 44, ubuntu resolute

πŸ’– podman-machine-info(1) β€” the glow-up edition πŸ’–

okay bestie, you found the podman-machine-info page in the General Commands Manual and honestly? it's giving "small page, big main character energy." let's get into it 🫢


✨ NAME ✨

podman-machine-info β€” Display machine host info πŸ‘‘


🌸 SYNOPSIS 🌸

podman machine info

that's it. that's the whole vibe. no flags required, she just tells you things πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So this one displays information pertaining to the machine host. Rootless only, bestie β€” because all podman machine commands can only be used with rootless Podman. no root, no entry, periodt. πŸ™…β€β™€οΈ

⚠️ Note, and this one's important: the DefaultMachine field in the Host output does not suggest that one can set a default podman machine via system connections. This value represents the current active system connection associated with a podman machine. Regardless of the default system connection, the default podman machine will always be podman-machine-default. don't let anyone tell you otherwise πŸ’€

🌈 OPTIONS 🌈

  • --format, -f=format β€” change output format to "json" or a Go template ✨

here's what you can reach for, lowkey the whole cheat sheet:

  • .Host ... β€” Host information for local machine
  • .Version ... β€” Version of the machine

(the ... is doing a lot of work there, she's mysterious like that 🧚)

  • --help β€” Print usage statement. the classic. the icon. πŸ‘‘

πŸ“ EXAMPLES πŸ“

πŸ’œ Display default Podman machine info.

$ podman machine info
Host:
  Arch: amd64
  CurrentMachine: ""
  DefaultMachine: ""
  EventsDir: /run/user/3267/podman
  MachineConfigDir: /home/myusername/.config/containers/podman/machine/qemu
  MachineImageDir: /home/myusername/.local/share/containers/podman/machine/qemu
  MachineState: ""
  NumberOfMachines: 0
  OS: linux
  VMType: qemu
Version:
  APIVersion: 4.4.0
  Built: 1677097848
  BuiltTime: Wed Feb 22 15:30:48 2023
  GitCommit: aa196c0d5c9abd5800edf9e27587c60343a26c2b-dirty
  GoVersion: go1.20
  Os: linux
  OsArch: linux/amd64
  Version: 4.4.0

look at all those fields, she's thriving 🌟

πŸ’œ Display default Podman machine info formatted as json.

$ podman machine info --format json
{
  "Host": {
    "Arch": "amd64",
    "CurrentMachine": "",
    "DefaultMachine": "",
    "EventsDir": "/run/user/3267/podman",
    "MachineConfigDir": "/home/myusername/.config/containers/podman/machine/qemu",
    "MachineImageDir": "/home/myusername/.local/share/containers/podman/machine/qemu",
    "MachineState": "",
    "NumberOfMachines": 0,
    "OS": "linux",
    "VMType": "qemu"
  },
  "Version": {
    "APIVersion": "4.4.0",
    "Version": "4.4.0",
    "GoVersion": "go1.20",
    "GitCommit": "aa196c0d5c9abd5800edf9e27587c60343a26c2b-dirty",
    "BuiltTime": "Wed Feb 22 15:30:48 2023",
    "Built": 1677097848,
    "OsArch": "linux/amd64",
    "Os": "linux"
  }
}

machine-readable and gorgeous, we love a dual threat πŸ˜­πŸ’–

πŸ’œ Display default Podman machine Host.Arch field.

$ podman machine info --format "{{ .Host.Arch }}"
amd64

one field, one line, maximum efficiency. she ATE πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

podman(1), podman-machine(1)

go read those too, they're the rest of the friend group πŸ’œ


πŸŽ€ HISTORY πŸŽ€

June 2022, Originally compiled by Ashley Cui acui@redhat.com ⟨mailto:acui@redhat.com⟩


and that's the whole page bestie!! πŸ¦‹βœ¨ this was podman-machine-info(1) from the General Commands Manual, aka the manual-name girlies β€” literally the same name stamped at the top and the bottom like a little signature, no date attached, just pure brand recognition πŸ’… ily, go check your machine info, mwah πŸ«ΆπŸ’–

πŸ“¦ where this page comes from