1podman-machine-info(1) General Commands Manual podman-machine-info(1)
2
3
4
6 podman-machine-info - Display machine host info
7
8
10 podman machine info
11
12
14 Display information pertaining to the machine host. Rootless only, as
15 all podman machine commands can be only be used with rootless Podman.
16
17
19 --format, -f=format
20 Change output format to "json" or a Go template.
21
22
23 ┌─────────────┬────────────────────────────┐
24 │Placeholder │ Description │
25 ├─────────────┼────────────────────────────┤
26 │.Host ... │ Host information for local │
27 │ │ machine │
28 ├─────────────┼────────────────────────────┤
29 │.Version ... │ Version of the machine │
30 └─────────────┴────────────────────────────┘
31
32 --help
33 Print usage statement.
34
35
37 $ podman machine info
38 Host:
39 Arch: amd64
40 CurrentMachine: ""
41 DefaultMachine: ""
42 EventsDir: /run/user/3267/podman
43 MachineConfigDir: /home/myusername/.config/containers/podman/machine/qemu
44 MachineImageDir: /home/myusername/.local/share/containers/podman/machine/qemu
45 MachineState: ""
46 NumberOfMachines: 0
47 OS: linux
48 VMType: qemu
49 Version:
50 APIVersion: 4.4.0
51 Built: 1677097848
52 BuiltTime: Wed Feb 22 15:30:48 2023
53 GitCommit: aa196c0d5c9abd5800edf9e27587c60343a26c2b-dirty
54 GoVersion: go1.20
55 Os: linux
56 OsArch: linux/amd64
57 Version: 4.4.0
58
59
60
61 $ podman machine info --format json
62 {
63 "Host": {
64 "Arch": "amd64",
65 "CurrentMachine": "",
66 "DefaultMachine": "",
67 "EventsDir": "/run/user/3267/podman",
68 "MachineConfigDir": "/home/myusername/.config/containers/podman/machine/qemu",
69 "MachineImageDir": "/home/myusername/.local/share/containers/podman/machine/qemu",
70 "MachineState": "",
71 "NumberOfMachines": 0,
72 "OS": "linux",
73 "VMType": "qemu"
74 },
75 "Version": {
76 "APIVersion": "4.4.0",
77 "Version": "4.4.0",
78 "GoVersion": "go1.20",
79 "GitCommit": "aa196c0d5c9abd5800edf9e27587c60343a26c2b-dirty",
80 "BuiltTime": "Wed Feb 22 15:30:48 2023",
81 "Built": 1677097848,
82 "OsArch": "linux/amd64",
83 "Os": "linux"
84 }
85 }
86
87
88
89 $ podman machine info --format "{{ .Host.Arch }}"
90 amd64
91
92
93
94
96 podman(1), podman-machine(1)
97
98
100 June 2022, Originally compiled by Ashley Cui acui@redhat.com
101 ⟨mailto:acui@redhat.com⟩
102
103
104
105 podman-machine-info(1)