podman/docs/source/markdown/options
Paul Holzinger 0ab8a3c576
artifact mount: add new name option to specify filename
An artifact without the title annoation just gets the digest as name
which is less than ideal. While it is a decent default to avoid
conflicts users would like to configure the name.

With the name=abc option we will call the file abc in case of a signle
artifact and otherwise we use abc-x where x is the layer index starting
at 0 to avoid conflicts.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-06-14 12:25:21 +02:00
..
README.md
add-host.md Mention `no_hosts` and `base_hosts_file` configs in CLI option docs 2024-10-02 23:15:24 +02:00
annotation.container.md
annotation.image.md
annotation.manifest.md Add type and annotations to artifact add 2025-01-31 09:53:03 -06:00
arch.md
attach.md
authfile.md podman artifact 2025-01-21 12:47:30 -06:00
blkio-weight-device.md
blkio-weight.md
build-arg-file.md
build-arg.md
build-context.md
cache-from.md
cache-to.md
cache-ttl.md Fxi typo in cache-ttl.md 2024-09-16 14:58:38 +02:00
cap-add.image.md
cap-add.md docs: warn about adding capabilities 2025-02-18 15:23:29 +01:00
cap-drop.image.md
cap-drop.md
cert-dir.md podman artifact 2025-01-21 12:47:30 -06:00
cgroup-conf.md
cgroup-parent.md
cgroupns.image.md
cgroupns.md
cgroups.md
chrootdirs.md
cidfile.read.md
cidfile.write.md
color.md
compat-auth-file.md man pages: refactor two more options 2024-09-03 11:13:46 -06:00
compat-volumes.md Add --compat-volumes option to build and farm build 2024-07-30 18:26:13 -04:00
compression-format.md Document that zstd:chunked is downgraded to zstd when encrypting 2024-09-30 21:52:35 +02:00
compression-level.md
conmon-pidfile.md
cpp-flag.md
cpu-period.md
cpu-quota.md
cpu-rt-period.md
cpu-rt-runtime.md
cpu-shares.md
cpus.container.md
cpuset-cpus.md
cpuset-mems.md
creds.md podman artifact 2025-01-21 12:47:30 -06:00
decryption-key.md podman artifact 2025-01-21 12:47:30 -06:00
destroy.md
detach-keys.md
device-cgroup-rule.md
device-read-bps.md
device-read-iops.md
device-write-bps.md
device-write-iops.md
device.md
digestfile.md podman artifact 2025-01-21 12:47:30 -06:00
dir-compress.md
disable-compression.md
disable-content-trust.md
dns-option.container.md
dns-option.image.md
dns-search.container.md
dns-search.image.md
dns.md
entrypoint.md docs: Improve spelling and formatting 2025-03-24 16:35:29 -06:00
env-file.md
env-host.md
env-merge.md
env.image.md
env.md
env.update.md Add --env and --unsetenv to podman update. 2025-03-21 13:15:44 +01:00
expose.md docs: fix missleading run/create --expose description 2024-04-10 14:24:32 +02:00
farm.md
features.md Add man page content for artifacts 2024-02-29 11:47:44 -05:00
file.md
follow.md
force-compression.md
force-rm.md
format.md
from.md
gidmap.container.md
gidmap.pod.md
gpus.md
group-add.md
group-entry.md
health-cmd.md Fix overwriting the Healthcheck configuration from the image 2025-04-03 15:52:05 +02:00
health-interval.md Fix overwriting the Healthcheck configuration from the image 2025-04-03 15:52:05 +02:00
health-log-destination.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
health-max-log-count.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
health-max-log-size.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
health-on-failure.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
health-retries.md Fix overwriting the Healthcheck configuration from the image 2025-04-03 15:52:05 +02:00
health-start-period.md Fix overwriting the Healthcheck configuration from the image 2025-04-03 15:52:05 +02:00
health-startup-cmd.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
health-startup-interval.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
health-startup-retries.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
health-startup-success.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
health-startup-timeout.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
health-timeout.md Fix: Ensure HealthCheck exec session terminates on timeout 2025-05-12 17:01:35 +02:00
help.md
hooks-dir.md
hostname.container.md Update documentation of `--no-hosts`, `--hostname`, and `--name` CLI options 2024-09-25 21:42:56 +02:00
hostname.pod.md Update documentation of `--no-hosts`, `--hostname`, and `--name` CLI options 2024-09-25 21:42:56 +02:00
hosts-file.md Add --hosts-file flag to container and pod commands 2024-11-24 22:00:34 -05:00
hostuser.md
http-proxy.md
identity-label.md
ignore.md
ignorefile.md
iidfile.md
image-volume.md
infra-command.md
infra-conmon-pidfile.md
infra-name.md
inherit-labels.md Bump to Buildah v1.40.0 2025-04-22 16:50:02 -04:00
init-path.md
init.md
interactive.md doc: explain --interactive in more detail 2024-11-01 08:23:08 +01:00
ip.md
ip6.md
ipc.image.md
ipc.md
isolation.md
jobs.md
label-file.md
label.image.md
label.md
latest.md
layer-label.md
layers.md
link-local-ip.md
log-driver.md logging: new mode -l passthrough-tty 2024-02-28 17:23:59 +01:00
log-opt.md
logfile.md
mac-address.md
manifest.md
memory-reservation.md
memory-swap.md
memory-swappiness.md
memory.md
mount.md artifact mount: add new name option to specify filename 2025-06-14 12:25:21 +02:00
name.container.md Update documentation of `--no-hosts`, `--hostname`, and `--name` CLI options 2024-09-25 21:42:56 +02:00
names.md
network-alias.md
network.image.md [CI:DOCS] Update podman network docs 2024-05-17 19:05:31 +05:30
network.md Clarified the consequences of --network=host 2025-06-10 18:47:55 +02:00
no-cache.md
no-healthcheck.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
no-hostname.md Add --no-hostname option 2025-01-15 06:51:32 -05:00
no-hosts.md Mention `no_hosts` and `base_hosts_file` configs in CLI option docs 2024-10-02 23:15:24 +02:00
no-reset.md
no-stream.md
no-trunc.md Add --no-trunc to artifact ls 2025-01-31 16:19:18 -06:00
noheading.md Add --noheading to artifact ls 2025-02-03 10:50:46 -06:00
omit-history.md
oom-kill-disable.md
oom-score-adj.md
os-feature.md
os-version.image.md
os-version.md Add man page content for artifacts 2024-02-29 11:47:44 -05:00
os.md
os.pull.md
passwd-entry.md
personality.md
pid.container.md
pid.image.md
pid.pod.md
pidfile.md
pids-limit.md
platform.md
pod-id-file.container.md
pod-id-file.pod.md
pod.run.md
preserve-fd.md
preserve-fds.md
privileged.md
publish-all.md
publish.md docs: Improve spelling and formatting 2025-03-24 16:35:29 -06:00
pull.image.md Remove references to --pull=true and --pull=false 2024-06-12 18:16:29 +02:00
pull.md
quiet.md
rdt-class.md
read-only-tmpfs.md
read-only.md
replace.md
requires.md
restart.md Add support for updating restart policy 2024-04-17 08:23:51 -04:00
retry-delay.md podman artifact 2025-01-21 12:47:30 -06:00
retry.md podman artifact 2025-01-21 12:47:30 -06:00
rm.md
rootfs.md
runtime-flag.md
runtime.md
sbom-image-output.md Update to runc main, removing pin to an older version 2024-02-02 08:11:17 -05:00
sbom-image-purl-output.md Update to runc main, removing pin to an older version 2024-02-02 08:11:17 -05:00
sbom-merge-strategy.md Update to runc main, removing pin to an older version 2024-02-02 08:11:17 -05:00
sbom-output.md Update to runc main, removing pin to an older version 2024-02-02 08:11:17 -05:00
sbom-purl-output.md Update to runc main, removing pin to an older version 2024-02-02 08:11:17 -05:00
sbom-scanner-command.md Update to runc main, removing pin to an older version 2024-02-02 08:11:17 -05:00
sbom-scanner-image.md Update to runc main, removing pin to an older version 2024-02-02 08:11:17 -05:00
sbom.md Update to runc main, removing pin to an older version 2024-02-02 08:11:17 -05:00
sdnotify.md
seccomp-policy.md
secret.image.md docs: Enhance podman build --secret documentation and add examples 2025-01-24 14:43:46 -06:00
secret.md docs: Use accurate max size of secret content 2025-03-24 16:35:57 -06:00
security-opt.image.md docs: Update `podman build` security options 2025-04-01 04:34:22 +10:00
security-opt.md docs: Expand description of no-new-privileges 2025-04-15 14:48:42 -06:00
shm-size-systemd.md
shm-size.md
sig-proxy.md
sign-by-sigstore.md podman artifact 2025-01-21 12:47:30 -06:00
sign-passphrase-file.md podman artifact 2025-01-21 12:47:30 -06:00
signal.md
since.md
skip-unused-stages.md
squash-all.md
squash.md
ssh.md
stop-signal.md
stop-timeout.md
subgidname.md
subuidname.md
sysctl.md
systemd.md docs: Improve spelling and formatting 2025-03-24 16:35:29 -06:00
tag.md
tail.md
target.md
time.md
timeout.md
timestamp.md
timestamps.md
tls-verify.md podman artifact 2025-01-21 12:47:30 -06:00
tmpfs.md
tty.md
tz.md
uidmap.container.md
uidmap.pod.md
ulimit.image.md
ulimit.md spec: always specify default rlimits 2024-10-11 23:04:27 +02:00
umask.md docs: Improve spelling and formatting 2025-03-24 16:35:29 -06:00
unsetenv-all.md
unsetenv.image.md
unsetenv.md
unsetenv.update.md Add --env and --unsetenv to podman update. 2025-03-21 13:15:44 +01:00
unsetlabel.md
until.md
user-mode-networking.md
user.md
userns-gid-map-group.md
userns-gid-map.md
userns-uid-map-user.md
userns-uid-map.md
userns.container.md docs: fix markdown format 2025-05-05 10:15:12 +02:00
userns.image.md
userns.pod.md [CI:DOCS] fix userns.pod.md mapping table 2024-02-09 15:53:34 +05:30
uts.container.md
uts.md
uts.pod.md
variant.container.md
variant.manifest.md
volume.image.md
volume.md docs: Improve spelling and formatting 2025-03-24 16:35:29 -06:00
volumes-from.md
workdir.md

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           ! includes 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 creates 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 is chosen based on the filename: if the file contains -pod, such as podman-pod-create, the string with pod (case-insensitive) in it is chosen.

The string <<subcommand>> is 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>>.

Restrictions

There is a restriction for having a single text line with three back-ticks in the front and the end of the line. For instance:

```Some man page text```

This is currently not allowed and causes a corruption of the compiled man page. Instead, put the three back-ticks on separate lines like:

``` Some man page text ```