podman/docs/source/markdown/options
Ed Santiago b9df3a6a9f Man pages: refactor common options: --label
Went with the podman-run version, where the "example" is
in the option template as per our guidelines.

I could not include the network- or volume-create
man pages, nor podman build.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2022-09-03 05:49:52 -06:00
..
README.md Man pages: refactor common options: arch 2022-08-15 12:31:30 -06:00
add-host.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
annotation.container.md Man pages: fix sloppiness 2022-08-22 12:38:02 -06:00
arch.md [CI:DOCS] elaborate on image lookups of foreign platforms 2022-08-22 16:38:20 +02:00
authfile.md Man pages: refactor common options: authfile 2022-08-16 09:13:38 -06:00
blkio-weight-device.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
blkio-weight.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cap-add.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
cap-drop.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
cert-dir.md Man pages: refactor common options: cert-dir 2022-08-22 05:52:20 -06:00
cgroup-conf.md
cgroup-parent.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
cgroupns.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
cgroups.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
chrootdirs.md
cidfile.read.md Man pages: refactor common options: --cidfile 2022-08-22 12:17:20 -06:00
cidfile.write.md Man pages: refactor common options: --cidfile 2022-08-22 12:17:20 -06:00
color.md Man pages: refactor common options: log-related options 2022-08-24 17:48:02 -06:00
conmon-pidfile.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
cpu-period.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpu-quota.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpu-rt-period.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpu-rt-runtime.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpu-shares.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpus.container.md Man pages: refactor common options: --cpus 2022-08-23 08:04:36 -06:00
cpuset-cpus.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
cpuset-mems.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
creds.md Man pages: refactor common options: --creds 2022-08-22 09:39:37 -06:00
destroy.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
device-cgroup-rule.md Man pages: refactor common options: --device-cgroup-rule 2022-08-23 13:02:09 -06:00
device-read-bps.md Man pages: refactor common options: --device-X-Y 2022-09-01 13:11:44 -06:00
device-read-iops.md Man pages: refactor common options: --device-X-Y 2022-09-01 13:11:44 -06:00
device-write-bps.md Man pages: refactor common options: --device-X-Y 2022-09-01 13:11:44 -06:00
device-write-iops.md Man pages: refactor common options: --device-X-Y 2022-09-01 13:11:44 -06:00
digestfile.md Man pages: refactor common options: --digestfile 2022-09-01 15:45:00 -06:00
disable-content-trust.md Man pages: refactor common options: --disable-content-trust 2022-08-23 10:10:35 -06:00
dns-opt.container.md Man pages: refactor common options: --dns-* 2022-08-29 05:37:52 -06:00
dns-search.container.md Man pages: refactor common options: --dns-* 2022-08-29 05:37:52 -06:00
entrypoint.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
env-host.md
env-merge.md run,create: add support for --env-merge for preprocessing vars 2022-08-24 14:06:25 +05:30
expose.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
follow.md Man pages: refactor common options: log-related options 2022-08-24 17:48:02 -06:00
gidmap.container.md Man pages: refactor common options: --gidmap 2022-08-24 05:43:23 -06:00
gidmap.pod.md Man pages: refactor common options: --gidmap 2022-08-24 05:43:23 -06:00
group-add.md
health-cmd.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
health-interval.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
health-retries.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
health-start-period.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
health-timeout.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
hostname.container.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
hostname.pod.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
hostuser.md
http-proxy.md Man pages: refactor common options: --http-proxy 2022-08-29 06:47:07 -06:00
ignore.md Man pages: refactor common options: --ignore 2022-08-23 15:18:44 -06:00
image-volume.md
infra-command.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
infra-conmon-pidfile.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
infra-name.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
init-path.md
init.md
ipc.md Man pages: refactor common options: --ipc 2022-08-24 06:58:20 -06:00
label-file.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
label.md Man pages: refactor common options: --label 2022-09-03 05:49:52 -06:00
link-local-ip.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
log-driver.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
mac-address.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
memory-reservation.md implement podman update 2022-09-01 13:02:01 -04:00
memory-swap.md implement podman update 2022-09-01 13:02:01 -04:00
memory-swappiness.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
memory.md implement podman update 2022-09-01 13:02:01 -04:00
mount.md
name.container.md Man pages: refactor common options: --name 2022-09-01 10:58:00 -06:00
names.md Man pages: refactor common options: log-related options 2022-08-24 17:48:02 -06:00
network-alias.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
no-healthcheck.md
no-hosts.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
oom-kill-disable.md
oom-score-adj.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
passwd-entry.md
personality.md
pid.md Man pages: refactor common options: --pid 2022-08-24 11:48:43 -06:00
pid.pod.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
pidfile.md
pids-limit.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
platform.md [CI:DOCS] elaborate on image lookups of foreign platforms 2022-08-22 16:38:20 +02:00
pod-id-file.container.md Man pages: refactor common options: --pod-id-file 2022-08-22 18:37:38 -06:00
pod-id-file.pod.md Man pages: refactor common options: --pod-id-file 2022-08-22 18:37:38 -06:00
pull.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
read-only-tmpfs.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
read-only.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
replace.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
requires.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
restart.md Man pages: refactor common options: --restart 2022-08-30 08:35:53 -06:00
sdnotify.md
seccomp-policy.md
secret.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
signal.md Man pages: refactor common options: --signal 2022-08-31 05:27:08 -06:00
since.md Man pages: refactor common options: log-related options 2022-08-24 17:48:02 -06:00
stop-signal.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
stop-timeout.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
subgidname.md Man pages: refactor common options: --subXidname 2022-08-30 05:28:28 -06:00
subuidname.md Man pages: refactor common options: --subXidname 2022-08-30 05:28:28 -06:00
systemd.md Man pages: refactor common options: --systemd 2022-08-25 08:52:41 -06:00
tail.md Man pages: refactor common options: log-related options 2022-08-24 17:48:02 -06:00
timeout.md
timestamps.md Man pages: refactor common options: log-related options 2022-08-24 17:48:02 -06:00
tmpfs.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
tz.md
uidmap.container.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
uidmap.pod.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
ulimit.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
umask.md
unsetenv-all.md
unsetenv.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
until.md Man pages: refactor common options: log-related options 2022-08-24 17:48:02 -06:00
userns.container.md docs: move userns options to separate file 2022-08-30 15:10:41 +02:00
uts.container.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
uts.pod.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
workdir.md Man pages: Refactor common options: --workdir 2022-08-24 04:43:06 -06:00

README.md

Common Man Page Options

This subdirectory contains option (flag) names and descriptions common to multiple podman man pages. Each file is one option. The filename does not necessarily need to be identical to the option name: for instance, hostname.container.md and hostname.pod.md exist because the --hostname option is sufficiently different between podman-{create,run} and podman-pod-{create,run} to warrant living separately.

How

The files here are included in podman-*.md.in files using the @@option mechanism:

@@option foo           ! will include options/foo.md

The tool that does this is hack/markdown-preprocess. It is a python script because it needs to run on readthedocs.io. From a given .md.in file, this script will create a .md file that can then be read by go-md2man, sphinx, anything that groks markdown. This runs as part of make docs.

Special Substitutions

Some options are almost identical except for 'pod' vs 'container' differences. For those, use <<text for pods|text for containers>>. Order is immaterial: the important thing is the presence of the string "pod" in one half but not the other. The correct string will be chosen based on the filename: if the file contains -pod, such as podman-pod-create, the string with pod (case-insensitive) in it will be chosen.

The string <<subcommand>> will be replaced with the podman subcommand as determined from the filename, e.g., create for podman-create.1.md.in. This allows the shared use of examples in the option file:

    Example: podman <<subcommand>> --foo --bar

As a special case, podman-pod-X becomes just X (the "pod" is removed). This makes the pod-id-file man page more useful.