podman/docs/source/markdown/options
Ed Santiago fa18d35e89 Man pages: refactor common options: --env
Only among podman create, exec, run. The same option in
podman build, generate-systemd, and secret-create is too
different.

Should be a trivial one to review, the only difference is
a period at the end of one sentence. And, of course, the
"See Environment note" applies only to podman-create and
run, not exec, so it can't be deduplicated.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2022-09-26 08:27:54 -06:00
..
README.md Man pages: refactor common options: --volume 2022-09-09 08:20:31 -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
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
device.md Man pages: refactor common options: --device 2022-09-06 08:20:32 -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-option.container.md Default to --dns-option to match Docker and Buildah 2022-09-16 06:14:35 -04:00
dns-search.container.md Man pages: refactor common options: --dns-* 2022-08-29 05:37:52 -06:00
dns.md Man pages: Refactor common options: --dns 2022-09-15 10:12:34 -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
env.md Man pages: refactor common options: --env 2022-09-26 08:27:54 -06:00
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-on-failure.md health check: add on-failure actions 2022-09-09 13:02:05 +02: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
interactive.md Man pages: refactor common options: --preserve-fds, -it 2022-09-14 08:15:46 -06:00
ip.md Man pages: refactor common options: --ip 2022-09-13 05:14:25 -06:00
ip6.md Man pages: refactor common options: --ip6 2022-09-14 05:46:14 -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
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 Refactor common options in man pages 2022-08-03 06:53:33 -06:00
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 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
no-reset.md Man pages: refactor common options: 2 stats opts 2022-09-15 05:17:25 -06:00
no-stream.md Man pages: refactor common options: 2 stats opts 2022-09-15 05:17:25 -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
os.pull.md Man pages: refactor common options: --os (pull) 2022-09-13 06:35:15 -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
preserve-fds.md Man pages: refactor common options: --preserve-fds, -it 2022-09-14 08:15:46 -06:00
privileged.md Man pages: refactor common options: --privileged 2022-09-07 06:41:44 -06:00
publish-all.md Man pages: refactor common options: --publish-all 2022-09-13 07:51:39 -06:00
publish.md Man pages: Refactor common options: --publish 2022-09-13 09:02:34 -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
rootfs.md Man pages: refactor common options: --rootfs 2022-09-12 17:56:57 -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
shm-size.md Man pages: refactor common options: --shm-size 2022-09-14 14:31:32 -06:00
sig-proxy.md Man pages: Refactor common options: --sig-proxy 2022-09-26 07:25:10 -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
sysctl.md Man pages: refactor common options: --sysctl 2022-09-06 09:59:14 -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
tls-verify.md Man pages: refactor common options: --tls-verify 2022-09-13 11:15:23 -06:00
tmpfs.md Refactor common man page options, phase 2 2022-08-09 06:33:17 -06:00
tty.md Man pages: refactor common options: --preserve-fds, -it 2022-09-14 08:15:46 -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
user.md Man pages: refactor common options: --user 2022-09-14 12:32:30 -06:00
userns.container.md docs: move userns options to separate file 2022-08-30 15:10:41 +02:00
userns.pod.md Man pages: refactor common options: --userns (pod) 2022-09-07 07:31:10 -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
volume.md [CI:DOCS] --volume: consistent wording 2022-09-12 10:04:29 +02:00
volumes-from.md Man pages: refactor common options: --volumes-from 2022-09-12 06:59:19 -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. To get the full subcommand including 'pod', use <<fullsubcommand>>.