summaryrefslogtreecommitdiff
path: root/docs/podman-info.1.md
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-03-01 08:07:54 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2018-03-01 17:59:08 +0000
commit11091041c2e0a2333ad0401432b92709ce361eb7 (patch)
tree96453ae92602a15a71645c91898245c2507ccd89 /docs/podman-info.1.md
parentcb7b0edc5b9f2ef7dda80a69e63fdad034e3e600 (diff)
downloadpodman-11091041c2e0a2333ad0401432b92709ce361eb7.tar.gz
podman-11091041c2e0a2333ad0401432b92709ce361eb7.tar.bz2
podman-11091041c2e0a2333ad0401432b92709ce361eb7.zip
docs/podman-info.1.md update man page
update man page with example outputs. tidy up the man page where applicable. Signed-off-by: baude <bbaude@redhat.com> Closes: #429 Approved by: rhatdan
Diffstat (limited to 'docs/podman-info.1.md')
-rw-r--r--docs/podman-info.1.md70
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)