1podman-info(1)() podman-info(1)()
2
3
4
6 podman-info - Displays Podman related system information
7
8
10 podman info [options]
11
12
13 podman system info [options]
14
15
17 Displays information pertinent to the host, current storage stats, con‐
18 figured container registries, and build of podman.
19
20
22 --debug, -D
23 Show additional information
24
25
26 --format=format, -f
27 Change output format to "json" or a Go template.
28
29
31 Run podman info with plain text response:
32
33
34 $ podman info
35 host:
36 arch: amd64
37 buildahVersion: 1.22.3
38 cgroupControllers: []
39 cgroupManager: systemd
40 cgroupVersion: v2
41 conmon:
42 package: conmon-2.0.29-2.fc34.x86_64
43 path: /usr/bin/conmon
44 version: 'conmon version 2.0.29, commit: '
45 cpus: 8
46 distribution:
47 distribution: fedora
48 variant: workstation
49 version: "34"
50 eventLogger: journald
51 hostname: localhost.localdomain
52 idMappings:
53 gidmap:
54 - container_id: 0
55 host_id: 3267
56 size: 1
57 - container_id: 1
58 host_id: 100000
59 size: 65536
60 uidmap:
61 - container_id: 0
62 host_id: 3267
63 size: 1
64 - container_id: 1
65 host_id: 100000
66 size: 65536
67 kernel: 5.13.13-200.fc34.x86_64
68 linkmode: dynamic
69 logDriver: journald
70 memFree: 1351262208
71 memTotal: 16401895424
72 ociRuntime:
73 name: crun
74 package: crun-1.0-1.fc34.x86_64
75 path: /usr/bin/crun
76 version: |-
77 crun version 1.0
78 commit: 139dc6971e2f1d931af520188763e984d6cdfbf8
79 spec: 1.0.0
80 +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL
81 os: linux
82 remoteSocket:
83 path: /run/user/3267/podman/podman.sock
84 security:
85 apparmorEnabled: false
86 capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
87 rootless: true
88 seccompEnabled: true
89 seccompProfilePath: /usr/share/containers/seccomp.json
90 selinuxEnabled: true
91 serviceIsRemote: false
92 slirp4netns:
93 executable: /bin/slirp4netns
94 package: slirp4netns-1.1.12-2.fc34.x86_64
95 version: |-
96 slirp4netns version 1.1.12
97 commit: 7a104a101aa3278a2152351a082a6df71f57c9a3
98 libslirp: 4.4.0
99 SLIRP_CONFIG_VERSION_MAX: 3
100 libseccomp: 2.5.0
101 swapFree: 16818888704
102 swapTotal: 16886259712
103 uptime: 33h 57m 32.85s (Approximately 1.38 days)
104 plugins:
105 log:
106 - k8s-file
107 - none
108 - journald
109 network:
110 - bridge
111 - macvlan
112 volume:
113 - local
114 registries:
115 localhost:5000:
116 Blocked: false
117 Insecure: true
118 Location: localhost:5000
119 MirrorByDigestOnly: false
120 Mirrors: null
121 Prefix: localhost:5000
122 search:
123 - registry.fedoraproject.org
124 - registry.access.redhat.com
125 - docker.io
126 store:
127 configFile: /home/dwalsh/.config/containers/storage.conf
128 containerStore:
129 number: 2
130 paused: 0
131 running: 1
132 stopped: 1
133 graphDriverName: overlay
134 graphOptions: {}
135 graphRoot: /home/dwalsh/.local/share/containers/storage
136 graphStatus:
137 Backing Filesystem: extfs
138 Native Overlay Diff: "true"
139 Supports d_type: "true"
140 Using metacopy: "false"
141 imageStore:
142 number: 37
143 runRoot: /run/user/3267/containers
144 volumePath: /home/dwalsh/.local/share/containers/storage/volumes
145 version:
146 APIVersion: 3.3.1
147 Built: 1631137208
148 BuiltTime: Wed Sep 8 17:40:08 2021
149 GitCommit: ab272d1e9bf4daac224fb230e0c9b5c56c4cab4d-dirty
150 GoVersion: go1.16.6
151 OsArch: linux/amd64
152 Version: 3.3.1
153
154
155
156 Run podman info with JSON formatted response:
157
158
159 $ ./bin/podman info --format json
160 {
161 "host": {
162 "arch": "amd64",
163 "buildahVersion": "1.22.3",
164 "cgroupManager": "systemd",
165 "cgroupVersion": "v2",
166 "cgroupControllers": [],
167 "conmon": {
168 "package": "conmon-2.0.29-2.fc34.x86_64",
169 "path": "/usr/bin/conmon",
170 "version": "conmon version 2.0.29, commit: "
171 },
172 "cpus": 8,
173 "distribution": {
174 "distribution": "fedora",
175 "version": "34"
176 },
177 "eventLogger": "journald",
178 "hostname": "localhost.localdomain",
179 "idMappings": {
180 "gidmap": [
181 {
182 "container_id": 0,
183 "host_id": 3267,
184 "size": 1
185 },
186 {
187 "container_id": 1,
188 "host_id": 100000,
189 "size": 65536
190 }
191 ],
192 "uidmap": [
193 {
194 "container_id": 0,
195 "host_id": 3267,
196 "size": 1
197 },
198 {
199 "container_id": 1,
200 "host_id": 100000,
201 "size": 65536
202 }
203 ]
204 },
205 "kernel": "5.13.13-200.fc34.x86_64",
206 "logDriver": "journald",
207 "memFree": 1274040320,
208 "memTotal": 16401895424,
209 "ociRuntime": {
210 "name": "crun",
211 "package": "crun-1.0-1.fc34.x86_64",
212 "path": "/usr/bin/crun",
213 "version": "crun version 1.0\ncommit: 139dc6971e2f1d931af520188763e984d6cdfbf8\nspec: 1.0.0\n+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL"
214 },
215 "os": "linux",
216 "remoteSocket": {
217 "path": "/run/user/3267/podman/podman.sock"
218 },
219 "serviceIsRemote": false,
220 "security": {
221 "apparmorEnabled": false,
222 "capabilities": "CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT",
223 "rootless": true,
224 "seccompEnabled": true,
225 "seccompProfilePath": "/usr/share/containers/seccomp.json",
226 "selinuxEnabled": true
227 },
228 "slirp4netns": {
229 "executable": "/bin/slirp4netns",
230 "package": "slirp4netns-1.1.12-2.fc34.x86_64",
231 "version": "slirp4netns version 1.1.12\ncommit: 7a104a101aa3278a2152351a082a6df71f57c9a3\nlibslirp: 4.4.0\nSLIRP_CONFIG_VERSION_MAX: 3\nlibseccomp: 2.5.0"
232 },
233 "swapFree": 16818888704,
234 "swapTotal": 16886259712,
235 "uptime": "33h 59m 25.69s (Approximately 1.38 days)",
236 "linkmode": "dynamic"
237 },
238 "store": {
239 "configFile": "/home/dwalsh/.config/containers/storage.conf",
240 "containerStore": {
241 "number": 2,
242 "paused": 0,
243 "running": 1,
244 "stopped": 1
245 },
246 "graphDriverName": "overlay",
247 "graphOptions": {
248 },
249 "graphRoot": "/home/dwalsh/.local/share/containers/storage",
250 "graphStatus": {
251 "Backing Filesystem": "extfs",
252 "Native Overlay Diff": "true",
253 "Supports d_type": "true",
254 "Using metacopy": "false"
255 },
256 "imageStore": {
257 "number": 37
258 },
259 "runRoot": "/run/user/3267/containers",
260 "volumePath": "/home/dwalsh/.local/share/containers/storage/volumes"
261 },
262 "registries": {
263 "localhost:5000": {
264 "Prefix": "localhost:5000",
265 "Location": "localhost:5000",
266 "Insecure": true,
267 "Mirrors": null,
268 "Blocked": false,
269 "MirrorByDigestOnly": false
270 },
271 "search": [
272 "registry.fedoraproject.org",
273 "registry.access.redhat.com",
274 "docker.io"
275 ]
276 },
277 "plugins": {
278 "volume": [
279 "local"
280 ],
281 "network": [
282 "bridge",
283 "macvlan"
284 ],
285 "log": [
286 "k8s-file",
287 "none",
288 "journald"
289 ]
290 },
291 "version": {
292 "APIVersion": "3.3.1",
293 "Version": "3.3.1",
294 "GoVersion": "go1.16.6",
295 "GitCommit": "",
296 "BuiltTime": "Mon Aug 30 16:46:36 2021",
297 "Built": 1630356396,
298 "OsArch": "linux/amd64"
299 }
300 }
301
302
303
304 Run podman info and only get the registries information.
305
306
307 $ podman info --format={{".Registries"}}
308 map[registries:[docker.io quay.io registry.fedoraproject.org registry.access.redhat.com]]
309
310
311
313 podman(1), containers-registries.conf(5), containers-storage.conf(5)
314
315
316
317 podman-info(1)()