podman/docs/source/markdown/options
Ed Santiago 62d87aa9ba Man pages: refactor common options: --subXidname
Whew! This one started off identical everywhere, but the version
in podman-run got fixed in #1380, then again in #5192, with no
corresponding fixes to any of the other man pages.

I went with the podman-run version, with a small change in wording.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2022-08-30 05:28:28 -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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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
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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
init.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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
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-swappiness.md Warning messages are printed and ignored if we use an unsupported option 2022-08-23 11:54:31 +09:00
mount.md Refactor common options in man pages 2022-08-03 06:53:33 -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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
no-hosts.md Man pages: refactor common options 2022-08-09 16:18:53 -06:00
oom-kill-disable.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
oom-score-adj.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
passwd-entry.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
personality.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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
sdnotify.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
seccomp-policy.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
secret.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
unsetenv-all.md Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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
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.