spiegel_podman/docs/source/markdown/options
Paul Holzinger 67aa9604b5
Merge pull request #28980 from stefan8/fix/image-volume-default-anonymous
docs: fix --image-volume default and accepted values
2026-08-03 18:56:39 +02:00
..
add-host.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
all-tags.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
annotation.container.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
annotation.image.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
annotation.manifest.md Add type and annotations to artifact add 2025-01-31 09:53:03 -06:00
arch.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
attach.md
authfile.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
auto-update.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
blkio-weight-device.md
blkio-weight.md
build-arg-file.md
build-arg.md
build-context.md docs: remove remote limitation note for --build-context option 2025-09-15 15:50:02 +02:00
cache-from.md
cache-to.md
cache-ttl.md
cap-add.image.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
cap-add.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
cap-drop.image.md
cap-drop.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
cert-dir.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
cgroup-conf.md
cgroup-parent.md
cgroupns.image.md
cgroupns.md
cgroups.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
chrootdirs.md fix: Correct typo in chrootdirs option 2025-09-13 14:09:04 +09:00
cidfile.read.md
cidfile.write.md
color.md
compat-auth-file.md
compat-volumes.md
compression-format.md Add compression-level/format and force-compression links in docs 2026-05-29 09:10:50 -04:00
compression-level.md Add compression-level/format and force-compression links in docs 2026-05-29 09:10:50 -04:00
configmap.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
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
created-annotation.md Add missing manpages options for Buildah v1.41.0 2025-07-23 10:36:22 -04:00
creds.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
decryption-key.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02: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 Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
digestfile.md podman artifact 2025-01-21 12:47:30 -06:00
dir-compress.md
disable-compression.md
disable-content-trust.md
disable-dns.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
dns-option.container.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
dns-option.image.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
dns-search.container.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
dns-search.image.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
dns.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
driver.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
entrypoint.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
env-file.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
env-host.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
env-merge.md
env.image.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
env.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
env.update.md Add --env and --unsetenv to podman update. 2025-03-21 13:15:44 +01:00
exec.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
expose.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
farm.md
features.md
file.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
filter.container.md filters: add annotation filter for containers Fixes: #28562 2026-05-11 20:24:28 +09:00
filter.events.md docs: Update filter options and add podman ps documentation 2025-12-06 10:47:13 +00:00
filter.images.md Improve docs on passing multiple --filter flags 2026-04-28 14:33:54 +02:00
filter.network-ls.md Improve docs on passing multiple --filter flags 2026-04-28 14:33:54 +02:00
filter.network-prune.md Improve docs on passing multiple --filter flags 2026-04-28 14:33:54 +02:00
filter.pod-ps.md Improve docs on passing multiple --filter flags 2026-04-28 14:33:54 +02:00
filter.quadlet-list.md Improve docs on passing multiple --filter flags 2026-04-28 14:33:54 +02:00
filter.search.md docs: Deduplicate --filter descriptions 2025-12-05 00:36:53 +00:00
filter.secret-ls.md docs: Deduplicate --filter descriptions 2025-12-05 00:36:53 +00:00
filter.volume-ls.md Improve docs on passing multiple --filter flags 2026-04-28 14:33:54 +02:00
filter.volume-prune.md Improve docs on passing multiple --filter flags 2026-04-28 14:33:54 +02:00
follow.md
force-compression.md Add compression-level/format and force-compression links in docs 2026-05-29 09:10:50 -04:00
force-rm.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
force.kube-down.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
format.md
from.md
gateway.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
gidmap.container.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
gidmap.pod.md Explain using --subuidname with --uidmap 2025-06-03 17:23:18 +02:00
global-args.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
gpus.md Discover vendor from cdi spec before injecting CDI device for --gpu option 2026-02-12 12:11:47 +00:00
group-add.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
group-entry.md
health-cmd.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-interval.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-log-destination.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-max-log-count.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-max-log-size.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-on-failure.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-retries.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-start-period.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-startup-cmd.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-startup-interval.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-startup-retries.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-startup-success.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-startup-timeout.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
health-timeout.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
help.md
hooks-dir.md
hostname.container.md Document container name vs hostname and network DNS 2026-06-10 11:28:14 +02:00
hostname.pod.md
hosts-file.md
hostuser.md
http-proxy.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
identity-label.md
ignore.md
ignorefile.md
iidfile-raw.md build: handle --iidfile-raw and --metadata-file flags 2026-02-03 09:18:29 +05:30
iidfile.md
image-volume.md docs: fix --image-volume default and accepted values 2026-06-29 12:35:25 +02:00
infra-command.md
infra-conmon-pidfile.md
infra-name.md
inherit-annotations.md Add missing manpages options for Buildah v1.41.0 2025-07-23 10:36:22 -04:00
inherit-labels.md Bump to Buildah v1.40.0 2025-04-22 16:50:02 -04:00
init-path.md
init.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
interactive.md
interface-name.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
internal.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
ip-range.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
ip.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
ip6.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
ipam-driver.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
ipc.image.md
ipc.md
ipv6.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
isolation.md
jobs.md
label-file.md
label.image.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
label.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
label.network.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
latest.md cmd/podman: add --latest option to update #26380 2025-06-24 22:06:26 +09:00
layer-label.md
layers.md
link-local-ip.md
log-driver.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
log-opt.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
logfile.md
mac-address.md
manifest.md
memory-reservation.md
memory-swap.md
memory-swappiness.md
memory.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
metadata-file.md build: handle --iidfile-raw and --metadata-file flags 2026-02-03 09:18:29 +05:30
module.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
mount.md docs: improve docs on relabelling options of --mount 2026-07-07 22:50:16 +08:00
name.container.md Document container name vs hostname and network DNS 2026-06-10 11:28:14 +02:00
names.md
network-alias.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
network.image.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
network.md Document pasta forwarding mode for rootless bridge networks 2026-05-20 14:24:48 +02:00
no-cache.md
no-healthcheck.md
no-hostname.md Add --no-hostname option 2025-01-15 06:51:32 -05:00
no-hosts.md
no-reset.md
no-session.md feat(exec): Add --no-session flag for improved performance 2025-11-19 12:44:48 -05:00
no-stream.md
no-trunc.md Add --no-trunc to artifact ls 2025-01-31 16:19:18 -06:00
noheading.md fix(cmd/podman/quadlet): Behave like container ls 2026-03-03 10:04:37 -06:00
omit-history.md
oom-kill-disable.md
oom-score-adj.md
opt.md docs: clarify network create isolate option 2026-07-20 21:40:44 +02:00
os-feature.md
os-version.image.md
os-version.md
os.md
os.pull.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
passwd-entry.md
personality.md
pid.container.md
pid.image.md
pid.pod.md
pidfile.md
pids-limit.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
platform.md
pod-id-file.container.md
pod-id-file.pod.md
pod.run.md
podman-args.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
policy.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
preserve-fd.md
preserve-fds.md
privileged.md
publish-all.md
publish.md Document pasta forwarding mode for rootless bridge networks 2026-05-20 14:24:48 +02:00
pull.image.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
pull.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
quiet.md Update quiet.md 2026-04-02 17:52:43 +01:00
rdt-class.md
read-only-tmpfs.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
read-only.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
README.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
reload-systemd.md docs: share --reload-systemd option between quadlet install and rm 2026-06-20 12:57:10 +02:00
replace.md
requires.md
restart.md Fix unless-stopped restart policy to match Docker behavior 2025-12-02 15:40:46 +01:00
retry-delay.md Add --retry support to podman manifest push 2026-06-22 15:49:27 -03:00
retry.md Add --retry support to podman manifest push 2026-06-22 15:49:27 -03:00
rewrite-timestamp.md Add missing manpages options for Buildah v1.41.0 2025-07-23 10:36:22 -04:00
rm.md
rootfs.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
runtime-flag.md Add default runtime flags in config 2025-10-16 13:51:46 -04:00
runtime.md
save-stages.md Implement --save-stages/--stage-labels for build 2026-04-17 10:00:32 -04:00
sbom-image-output.md
sbom-image-purl-output.md
sbom-merge-strategy.md
sbom-output.md
sbom-purl-output.md
sbom-scanner-command.md
sbom-scanner-image.md
sbom.md
sdnotify.md
seccomp-policy.md
secret.image.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
secret.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02: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 Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
sig-proxy.md
sign-by-sigstore.md podman artifact 2025-01-21 12:47:30 -06:00
sign-by-sq-fingerprint.md Add --sign-by-sq-fingerprint to push operations 2025-09-11 20:32:32 +02:00
sign-passphrase-file.md Add --sign-by-sq-fingerprint to push operations 2025-09-11 20:32:32 +02:00
signal.md
since.md
skip-unused-stages.md
source-date-epoch.md Add missing manpages options for Buildah v1.41.0 2025-07-23 10:36:22 -04:00
source-policy-file.md build: connect --source-policy-file, --mount for remote builds 2026-02-18 14:11:12 +01:00
squash-all.md
squash.md
ssh.md
stage-labels.md Implement --save-stages/--stage-labels for build 2026-04-17 10:00:32 -04:00
stop-signal.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
stop-timeout.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
subgidname.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
subnet.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
subuidname.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
sysctl.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
systemd.md docs: Improve spelling and formatting 2025-03-24 16:35:29 -06:00
tag.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
tail.md
target.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
time.md
timeout.md
timestamp.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
timestamps.md
tls-verify.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
tmpfs.md Document tmpcopyup default behavior for tmpfs mounts 2026-05-15 09:22:44 +02:00
tty.md
tz.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
uidmap.container.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
uidmap.pod.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
ulimit.image.md
ulimit.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
umask.md docs: Improve spelling and formatting 2025-03-24 16:35:29 -06:00
unsetannotation.md Add missing manpages options for Buildah v1.41.0 2025-07-23 10:36:22 -04: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
update-connection.md Ignore prompt if stdin not a tty on machine start 2025-11-19 11:50:25 -06:00
user-mode-networking.md make machine --user-mode-networking docs more clear 2025-08-11 17:27:18 +02:00
user.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
userns-gid-map-group.md
userns-gid-map.md
userns-uid-map-user.md
userns-uid-map.md
userns.container.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
userns.image.md
userns.pod.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
uts.container.md
uts.md
uts.pod.md
variant.build.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
variant.container.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
variant.manifest.md
volume.image.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
volume.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00
volumes-from.md
workdir.md Rewrite the Quadlet documentation 2026-05-04 10:53:36 +02:00

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
@@option quadlet:foo   ! includes options/foo.md with `is_quadlet=True`
                       ! See "Jinja2 Templating" below.

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.

Conditionals

Some options are used as both Podman command line options and Quadlet options. To reduce the duplication, the very limited conditionals are supported in the Markdown files.

The basic condition:

<< if variable >>
...
<< endif >>

It is possible to use the not keyword and else keyword:

<< if not variable >>
...
<< else >>
...
<< endif >>

It is also possible to do inline conditions like this:

<< "foo" if variable else "bar" >>

The following variables are available for Jinja2 Templates:

  • is_quadlet: True if file is imported using @@option quadlet:foo.

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 ```