github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/docs/source/markdown/podman-info.1.md (about) 1 % podman-info(1) 2 3 ## NAME 4 podman\-info - Displays Podman related system information 5 6 ## SYNOPSIS 7 **podman info** [*options*] 8 9 **podman system info** [*options*] 10 11 ## DESCRIPTION 12 13 Displays information pertinent to the host, current storage stats, configured container registries, and build of podman. 14 15 16 ## OPTIONS 17 18 #### **--debug**, **-D** 19 20 Show additional information 21 22 #### **--format**=*format*, **-f** 23 24 Change output format to "json" or a Go template. 25 26 27 ## EXAMPLE 28 29 Run podman info with plain text response: 30 ``` 31 $ podman info 32 host: 33 arch: amd64 34 buildahVersion: 1.15.0 35 cgroupVersion: v1 36 conmon: 37 package: conmon-2.0.16-2.fc32.x86_64 38 path: /usr/bin/conmon 39 version: 'conmon version 2.0.16, commit: 1044176f7dd177c100779d1c63931d6022e419bd' 40 cpus: 8 41 distribution: 42 distribution: fedora 43 version: "32" 44 eventLogger: file 45 hostname: localhost.localdomain 46 idMappings: 47 gidmap: 48 - container_id: 0 49 host_id: 3267 50 size: 1 51 - container_id: 1 52 host_id: 100000 53 size: 65536 54 uidmap: 55 - container_id: 0 56 host_id: 3267 57 size: 1 58 - container_id: 1 59 host_id: 100000 60 size: 65536 61 kernel: 5.6.11-300.fc32.x86_64 62 linkmode: dynamic 63 memFree: 1401929728 64 memTotal: 16416161792 65 ociRuntime: 66 name: runc 67 package: containerd.io-1.2.10-3.2.fc31.x86_64 68 path: /usr/bin/runc 69 version: |- 70 runc version 1.0.0-rc8+dev 71 commit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 72 spec: 1.0.1-dev 73 os: linux 74 remoteSocket: 75 exists: false 76 path: /run/user/1000/podman/podman.sock 77 rootless: true 78 slirp4netns: 79 executable: /bin/slirp4netns 80 package: slirp4netns-1.0.0-1.fc32.x86_64 81 version: |- 82 slirp4netns version 1.0.0 83 commit: a3be729152a33e692cd28b52f664defbf2e7810a 84 libslirp: 4.2.0 85 swapFree: 8291610624 86 swapTotal: 8296329216 87 uptime: 52h 29m 39.78s (Approximately 2.17 days) 88 registries: 89 search: 90 - registry.fedoraproject.org 91 - registry.access.redhat.com 92 - registry.centos.org 93 - docker.io 94 store: 95 configFile: /home/dwalsh/.config/containers/storage.conf 96 containerStore: 97 number: 2 98 paused: 0 99 running: 0 100 stopped: 2 101 graphDriverName: overlay 102 graphOptions: 103 overlay.mount_program: 104 Executable: /home/dwalsh/bin/fuse-overlayfs 105 Package: Unknown 106 Version: |- 107 fusermount3 version: 3.9.1 108 fuse-overlayfs: version 0.7.2 109 FUSE library version 3.9.1 110 using FUSE kernel interface version 7.31 111 graphRoot: /home/dwalsh/.local/share/containers/storage 112 graphStatus: 113 Backing Filesystem: extfs 114 Native Overlay Diff: "false" 115 Supports d_type: "true" 116 Using metacopy: "false" 117 imageStore: 118 number: 7 119 runRoot: /run/user/3267/containers 120 volumePath: /home/dwalsh/.local/share/containers/storage/volumes 121 version: 122 Built: 1589899246 123 BuiltTime: Tue May 19 10:40:46 2020 124 GitCommit: c3678ce3289f4195f3f16802411e795c6a587c9f-dirty 125 GoVersion: go1.14.2 126 OsArch: linux/amd64 127 APIVersion: 1 128 Version: 2.0.0 129 ``` 130 Run podman info with JSON formatted response: 131 ``` 132 { 133 "host": { 134 "arch": "amd64", 135 "buildahVersion": "1.15.0", 136 "cgroupVersion": "v1", 137 "conmon": { 138 "package": "conmon-2.0.16-2.fc32.x86_64", 139 "path": "/usr/bin/conmon", 140 "version": "conmon version 2.0.16, commit: 1044176f7dd177c100779d1c63931d6022e419bd" 141 }, 142 "cpus": 8, 143 "distribution": { 144 "distribution": "fedora", 145 "version": "32" 146 }, 147 "eventLogger": "file", 148 "hostname": "localhost.localdomain", 149 "idMappings": { 150 "gidmap": [ 151 { 152 "container_id": 0, 153 "host_id": 3267, 154 "size": 1 155 }, 156 { 157 "container_id": 1, 158 "host_id": 100000, 159 "size": 65536 160 } 161 ], 162 "uidmap": [ 163 { 164 "container_id": 0, 165 "host_id": 3267, 166 "size": 1 167 }, 168 { 169 "container_id": 1, 170 "host_id": 100000, 171 "size": 65536 172 } 173 ] 174 }, 175 "kernel": "5.6.11-300.fc32.x86_64", 176 "memFree": 1380356096, 177 "memTotal": 16416161792, 178 "ociRuntime": { 179 "name": "runc", 180 "package": "containerd.io-1.2.10-3.2.fc31.x86_64", 181 "path": "/usr/bin/runc", 182 "version": "runc version 1.0.0-rc8+dev\ncommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657\nspec: 1.0.1-dev" 183 }, 184 "os": "linux", 185 "remoteSocket": { 186 "path": "/run/user/1000/podman/podman.sock", 187 "exists": false 188 }, 189 "rootless": true, 190 "slirp4netns": { 191 "executable": "/bin/slirp4netns", 192 "package": "slirp4netns-1.0.0-1.fc32.x86_64", 193 "version": "slirp4netns version 1.0.0\ncommit: a3be729152a33e692cd28b52f664defbf2e7810a\nlibslirp: 4.2.0" 194 }, 195 "swapFree": 8291610624, 196 "swapTotal": 8296329216, 197 "uptime": "52h 27m 39.38s (Approximately 2.17 days)", 198 "linkmode": "dynamic" 199 }, 200 "store": { 201 "configFile": "/home/dwalsh/.config/containers/storage.conf", 202 "containerStore": { 203 "number": 2, 204 "paused": 0, 205 "running": 0, 206 "stopped": 2 207 }, 208 "graphDriverName": "overlay", 209 "graphOptions": { 210 "overlay.mount_program": { 211 "Executable": "/home/dwalsh/bin/fuse-overlayfs", 212 "Package": "Unknown", 213 "Version": "fusermount3 version: 3.9.1\nfuse-overlayfs: version 0.7.2\nFUSE library version 3.9.1\nusing FUSE kernel interface version 7.31" 214 } 215 }, 216 "graphRoot": "/home/dwalsh/.local/share/containers/storage", 217 "graphStatus": { 218 "Backing Filesystem": "extfs", 219 "Native Overlay Diff": "false", 220 "Supports d_type": "true", 221 "Using metacopy": "false" 222 }, 223 "imageStore": { 224 "number": 7 225 }, 226 "runRoot": "/run/user/3267/containers", 227 "volumePath": "/home/dwalsh/.local/share/containers/storage/volumes" 228 }, 229 "registries": { 230 "search": [ 231 "registry.fedoraproject.org", 232 "registry.access.redhat.com", 233 "registry.centos.org", 234 "docker.io" 235 ] 236 }, 237 "version": { 238 "APIVersion": 1, 239 "Version": "2.0.0", 240 "GoVersion": "go1.14.2", 241 "GitCommit": "c3678ce3289f4195f3f16802411e795c6a587c9f-dirty", 242 "BuiltTime": "Tue May 19 10:40:46 2020", 243 "Built": 1589899246, 244 "OsArch": "linux/amd64" 245 } 246 } 247 ``` 248 Run podman info and only get the registries information. 249 ``` 250 $ podman info --format={{".Registries"}} 251 map[registries:[docker.io quay.io registry.fedoraproject.org registry.access.redhat.com]] 252 ``` 253 254 ## SEE ALSO 255 podman(1), containers-registries.conf(5), containers-storage.conf(5)