Files
podman/docs/podman-info.1.md
W. Trevor King f2462ca59e docs: Follow man-pages(7) suggestions for SYNOPSIS
man-pages(7) has [1]:

> For commands, this shows the syntax of the command and its arguments
> (including options); boldface is used for as-is text and italics are
> used to indicate replaceable arguments. Brackets ([]) surround
> optional arguments, vertical bars (|) separate choices, and ellipses
> (...) can be repeated.

I've adjusted our SYNOPSIS entries to match that formatting, and
generally tried to make them more consistent with the precedent set by
the man-pages project.  Outside of the SYNOPSIS entry, I prefer using
backticks for literals, although in some places I've left the **
bolding to keep things visually similar to a nearby SYNOPSIS entry.

[1]: http://man7.org/linux/man-pages/man7/man-pages.7.html

Signed-off-by: W. Trevor King <wking@tremily.us>

Closes: #1027
Approved by: rhatdan
2018-07-04 09:40:37 +00:00

97 lines
1.9 KiB
Markdown

% podman-version "1"
## NAME
podman\-info - Display system information
## SYNOPSIS
**podman info** [*options*]
## DESCRIPTION
Displays information pertinent to the host, current storage stats, configured container registries, and build of podman.
## OPTIONS
**--debug, -D**
Show additional information
**--format**
Change output format to "json" or a Go template.
## EXAMPLE
```
$ 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
podman(1), registries.conf(5), storage.conf(5), crio(8)