podman/docs/source/markdown/options
Jan Rodák a1249425bd
Configure HealthCheck with `podman update`
New flags in a `podman update` can change the configuration of HealthCheck when the container is started, without having to restart or recreate the container.

This can help determine why a given container suddenly started failing HealthCheck without interfering with the services it provides. For example, reconfigure HealthCheck to keep logs longer than the usual last X results, store logs to other destinations, etc.

Fixes: https://issues.redhat.com/browse/RHEL-60561

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2024-11-19 19:44:14 +01:00
..
README.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
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 Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
annotation.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
annotation.manifest.md Add man page content for artifacts 2024-02-29 11:47:44 -05:00
arch.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
attach.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
authfile.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
blkio-weight-device.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
blkio-weight.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
build-arg-file.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
build-arg.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
build-context.md docs: fix typos 2024-01-04 12:10:11 +02:00
cache-from.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cache-to.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cache-ttl.md Fxi typo in cache-ttl.md 2024-09-16 14:58:38 +02:00
cap-add.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cap-add.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
cap-drop.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cap-drop.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
cert-dir.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cgroup-conf.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
cgroup-parent.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cgroupns.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cgroupns.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
cgroups.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
chrootdirs.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
cidfile.read.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
cidfile.write.md Cleanup CIDFile on podman-remote run --rm command 2023-08-01 14:24:55 -04:00
color.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
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 cmd, push: expose --compression-level 2023-06-21 14:28:16 +02:00
conmon-pidfile.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
cpp-flag.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cpu-period.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cpu-quota.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cpu-rt-period.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
cpu-rt-runtime.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
cpu-shares.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cpus.container.md Explain that relabeling/chowning of volumes can take along time 2022-12-22 08:54:00 -05:00
cpuset-cpus.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
cpuset-mems.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
creds.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
decryption-key.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
destroy.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
detach-keys.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
device-cgroup-rule.md doc cleanup 2023-12-14 05:17:43 -07:00
device-read-bps.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
device-read-iops.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
device-write-bps.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
device-write-iops.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
device.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
digestfile.md support `--digestfile` for remote push 2023-04-21 10:28:40 +02:00
dir-compress.md Add shared --compress to man pages 2023-01-03 16:39:41 -05:00
disable-compression.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
disable-content-trust.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
dns-option.container.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
dns-option.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
dns-search.container.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
dns-search.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
dns.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
entrypoint.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
env-file.md Revert "docs(env-file): improve document description" 2023-10-04 17:06:21 +02:00
env-host.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
env-merge.md run,create: modify `--env-merge` behavior for non-existent vars 2023-06-22 15:42:55 +05:30
env.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
env.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
expose.md docs: fix missleading run/create --expose description 2024-04-10 14:24:32 +02:00
farm.md Move the --farm flag to farm build command 2023-11-30 14:27:06 +00:00
features.md Add man page content for artifacts 2024-02-29 11:47:44 -05:00
file.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
follow.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
force-compression.md push, manifest-push: --force-compression must be true with --compression-format 2023-08-28 16:41:13 +05:30
force-rm.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
format.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
from.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
gidmap.container.md uid/gid mapping flags 2023-08-28 20:21:04 +02:00
gidmap.pod.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
gpus.md Make --gpus work with nvidia gpus 2024-01-11 21:13:25 -05:00
group-add.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
group-entry.md create: add support for --group-entry 2023-02-15 11:20:18 +05:30
health-cmd.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
health-interval.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01: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 Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
health-start-period.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01: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 Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
help.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
hooks-dir.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
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
hostuser.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
http-proxy.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
identity-label.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
ignore.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
ignorefile.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
iidfile.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
image-volume.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
infra-command.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
infra-conmon-pidfile.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
infra-name.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
init-path.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
init.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
interactive.md doc: explain --interactive in more detail 2024-11-01 08:23:08 +01:00
ip.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
ip6.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
ipc.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
ipc.md docs/options/ipc: fix list syntax 2022-12-12 18:39:26 -05:00
isolation.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
jobs.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
label-file.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
label.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
label.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
latest.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
layer-label.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
layers.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
link-local-ip.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
log-driver.md logging: new mode -l passthrough-tty 2024-02-28 17:23:59 +01:00
log-opt.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
logfile.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
mac-address.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
manifest.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
memory-reservation.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
memory-swap.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
memory-swappiness.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
memory.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
mount.md Add support for image volume subpaths 2024-04-25 14:12:27 -04:00
name.container.md Update documentation of `--no-hosts`, `--hostname`, and `--name` CLI options 2024-09-25 21:42:56 +02:00
names.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
network-alias.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
network.image.md [CI:DOCS] Update podman network docs 2024-05-17 19:05:31 +05:30
network.md docs: --network remove missing leading sentence 2024-07-01 11:46:34 +02:00
no-cache.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
no-healthcheck.md Configure HealthCheck with `podman update` 2024-11-19 19:44:14 +01:00
no-hostname.md Clean up farm-build miscommit 2023-11-27 06:15:43 -07: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 Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
no-stream.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
noheading.md Unify --noheading and -n to be consistent on all commands 2022-12-19 13:18:43 -05:00
omit-history.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
oom-kill-disable.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
oom-score-adj.md linux, rootless: clamp oom_score_adj if it is too low 2023-09-04 14:44:14 +02:00
os-feature.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
os-version.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
os-version.md Add man page content for artifacts 2024-02-29 11:47:44 -05:00
os.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
os.pull.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
passwd-entry.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
personality.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
pid.container.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
pid.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
pid.pod.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
pidfile.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
pids-limit.md Fixed `podman update --pids-limit` 2022-12-31 18:42:47 -05:00
platform.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
pod-id-file.container.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
pod-id-file.pod.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
pod.run.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
preserve-fd.md podman: new option --preserve-fd 2023-12-05 10:16:41 +01:00
preserve-fds.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
privileged.md containers.conf: add `privileged` field to containers table 2023-10-05 20:14:18 +02:00
publish-all.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
publish.md network: document ports and macvlan interaction 2023-10-19 17:04:29 +02:00
pull.image.md Remove references to --pull=true and --pull=false 2024-06-12 18:16:29 +02:00
pull.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
quiet.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
rdt-class.md Update docs/source/markdown/options/rdt-class.md 2023-09-27 16:44:13 +00:00
read-only-tmpfs.md Fix handling of --read-only-tmpfs flag 2023-10-16 14:18:55 -04:00
read-only.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
replace.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
requires.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
restart.md Add support for updating restart policy 2024-04-17 08:23:51 -04:00
retry-delay.md add --retry --retry-delay to podman run/create 2024-02-29 10:20:21 -05:00
retry.md add --retry --retry-delay to podman run/create 2024-02-29 10:20:21 -05:00
rm.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
rootfs.md Update rootfs.md: Fix formatting and wording of idmap option 2023-08-14 09:21:24 -04:00
runtime-flag.md docs: fix typos 2024-01-04 12:10:11 +02:00
runtime.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
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 add "healthy" sdnotify policy 2023-07-25 11:17:44 +02:00
seccomp-policy.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
secret.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
secret.md libpod: use /var/run instead of /run on FreeBSD 2023-08-17 14:04:53 +01:00
security-opt.image.md docs: make --seccomp=profile.json clearer 2024-02-07 13:16:35 +01:00
security-opt.md Do not add powercap mask if no paths are masked 2023-10-27 09:55:12 -04:00
shm-size-systemd.md add support for limiting tmpfs size for systemd-specific mnts 2023-02-14 14:56:09 +05:30
shm-size.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
sig-proxy.md Docs on sig-proxy are wrong, we support TTY 2023-09-19 13:25:50 -04:00
sign-by-sigstore.md man pages: refactor two more options 2024-09-03 11:13:46 -06:00
sign-passphrase-file.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
signal.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
since.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
skip-unused-stages.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
squash-all.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
squash.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
ssh.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
stop-signal.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
stop-timeout.md Add support for passing container stop timeout as -1 (infinite) 2023-08-04 08:36:45 -04:00
subgidname.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
subuidname.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
sysctl.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
systemd.md docs: clarify systemd cgroup mount 2023-10-30 10:55:35 +01:00
tag.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
tail.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
target.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
time.md Add support for passing container stop timeout as -1 (infinite) 2023-08-04 08:36:45 -04:00
timeout.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
timestamp.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
timestamps.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
tls-verify.md farm build: push built images to registry 2024-01-15 11:31:17 -05:00
tmpfs.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
tty.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
tz.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
uidmap.container.md Fix gidmap command in example 2023-08-30 13:47:23 +02:00
uidmap.pod.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
ulimit.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
ulimit.md spec: always specify default rlimits 2024-10-11 23:04:27 +02:00
umask.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
unsetenv-all.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
unsetenv.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
unsetenv.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
unsetlabel.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
until.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
user-mode-networking.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
user.md Remove future tense from man pages 2023-05-16 15:10:33 -04:00
userns-gid-map-group.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
userns-gid-map.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
userns-uid-map-user.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
userns-uid-map.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
userns.container.md support lookup of intermediate IDs in gidmapping/uidmapping options in userns=auto 2023-11-29 19:03:27 +01:00
userns.image.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
userns.pod.md [CI:DOCS] fix userns.pod.md mapping table 2024-02-09 15:53:34 +05:30
uts.container.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
uts.md [CI:DOCS] Add podman farm build doc 2023-11-22 11:00:13 -05:00
uts.pod.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
variant.container.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
variant.manifest.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
volume.image.md doc cleanup 2023-12-14 05:17:43 -07:00
volume.md Merge branch 'main' of github.com:containers/podman into man 2024-08-21 08:59:06 -04:00
volumes-from.md Remove 'you' from man pages 2022-12-07 09:29:29 -05:00
workdir.md Remove 'you' from man pages 2022-12-07 09:29:29 -05: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           ! 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 ```