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 $ podman machine info --format json
61 {
62 "Host": {
63 "Arch": "amd64",
64 "CurrentMachine": "",
65 "DefaultMachine": "",
66 "EventsDir": "/run/user/3267/podman",
67 "MachineConfigDir": "/home/myusername/.config/containers/podman/machine/qemu",
68 "MachineImageDir": "/home/myusername/.local/share/containers/podman/machine/qemu",
69 "MachineState": "",
70 "NumberOfMachines": 0,
71 "OS": "linux",
72 "VMType": "qemu"
73 },
74 "Version": {
75 "APIVersion": "4.4.0",
76 "Version": "4.4.0",
77 "GoVersion": "go1.20",
78 "GitCommit": "aa196c0d5c9abd5800edf9e27587c60343a26c2b-dirty",
79 "BuiltTime": "Wed Feb 22 15:30:48 2023",
80 "Built": 1677097848,
81 "OsArch": "linux/amd64",
82 "Os": "linux"
83 }
84 }
85
86
87 $ podman machine info --format "{{ .Host.Arch }}"
88 amd64
89
90
91
92
94 podman(1), podman-machine(1)
95
96
98 June 2022, Originally compiled by Ashley Cui acui@redhat.com
99 ⟨mailto:acui@redhat.com⟩
100
101
102
103 podman-machine-info(1)