diff options
Diffstat (limited to 'docs/podman-info.1.md')
-rw-r--r-- | docs/podman-info.1.md | 70 |
1 files changed, 66 insertions, 4 deletions
diff --git a/docs/podman-info.1.md b/docs/podman-info.1.md index f3e3bc63f..2f5a36c83 100644 --- a/docs/podman-info.1.md +++ b/docs/podman-info.1.md @@ -12,7 +12,7 @@ podman info - Display system information ## DESCRIPTION -Information display here pertain to the host, current storage stats, and build of podman. Useful for the user and when reporting issues. +Displays information pertinent to the host, current storage stats, configured registries, and build of podman. ## OPTIONS @@ -28,9 +28,71 @@ Change output format to "json" or a Go template. ## EXAMPLE -`podman info` - -`podman info --debug --format json| jq .host.kernel` +``` +$ podman info +host: + MemFree: 7822168064 + MemTotal: 33080606720 + SwapFree: 34357637120 + SwapTotal: 34359734272 + arch: amd64 + cpus: 8 + hostname: localhost.localdomain + kernel: 4.13.16-300.fc27.x86_64 + os: linux + uptime: 142h 13m 55.64s (Approximately 5.92 days) +insecure registries: + registries: [] +registries: + registries: + - docker.io + - registry.fedoraproject.org + - registry.access.redhat.com +store: + ContainerStore: + number: 7 + GraphDriverName: overlay + GraphOptions: + - overlay.override_kernel_check=true + GraphRoot: /var/lib/containers/storage + GraphStatus: + Backing Filesystem: extfs + Native Overlay Diff: "true" + Supports d_type: "true" + ImageStore: + number: 10 + RunRoot: /var/run/containers/storage +``` +``` +$ podman info --debug --format json +{ + "host": { + "MemFree": 7506157568, + "MemTotal": 33080606720, + "SwapFree": 34357637120, + "SwapTotal": 34359734272, + "arch": "amd64", + "cpus": 8, + "hostname": "localhost.localdomain", + "kernel": "4.13.16-300.fc27.x86_64", + "os": "linux", + "uptime": "142h 17m 17.04s (Approximately 5.92 days)" + + ... removed for brevity + + "ImageStore": { + "number": 10 + }, + "RunRoot": "/var/run/containers/storage" + } +} + +``` + +``` +$ podman info --format={{".registries"}} +map[registries:[docker.io registry.fedoraproject.org registry.access.redhat.com]] +``` ## SEE ALSO crio(8), crio.conf(5) |