spiegel_podman/docs
seonghun lee 655b8cee14 Hide --cpu-rt-period/--cpu-rt-runtime and mark them as NOP
Podman 6 dropped cgroups v1 support, and the kernel real-time
scheduler cgroup settings only exist on cgroups v1. That means the
--cpu-rt-period and --cpu-rt-runtime options can never take effect
anymore: on cgroups v2 the values only produce a warning and are
discarded.

As agreed in the linked issue, the full removal of the options is
deferred to the next major release (7.0) to avoid a breaking change
for anyone still setting them. For 6.x this commit implements the
agreed interim step:

- remove the option documentation (docs/source/markdown/options/
  cpu-rt-period.md and cpu-rt-runtime.md) and drop the @@option
  references from the podman-create, podman-run, podman-update and
  podman-container-clone man pages
- hide both flags from --help output
- change the existing warning to state that the option is a NOP,
  that the value is ignored, and that the option will be removed in
  the next major release

The e2e tests are updated to match the new warning text. Actual
removal of the flags and the spec fields is left for Podman 7.0.

Part of #29750

Signed-off-by: seonghun lee <harrisleesh@gmail.com>
2026-09-17 01:15:52 +09:00
..
cncf vendor neutral language, NIST database for known issues 2025-10-30 14:37:42 -04:00
source Hide --cpu-rt-period/--cpu-rt-runtime and mark them as NOP 2026-09-17 01:15:52 +09:00
tutorials Merge pull request #29730 from jmrplens/docs/rootless-bind-mount-unmapped-parent 2026-09-14 18:45:18 +02:00
CODE_STRUCTURE.md docs: add description about our code structure 2025-07-16 15:59:48 +02:00
Containerfile Build documentation in a container on Win arm64 2025-04-29 15:36:37 +02:00
dckrman.sh Add information about .containerignore to podman build man page 2021-10-12 16:42:07 -04:00
kubernetes_support.md Pod YAML: Add support for lifecycle.stopSignal 2025-06-23 08:23:31 -04:00
links-to-html.lua Update XML to not embed quote in PATH on windows 2020-01-31 15:22:20 -07:00
make.ps1 docs: expand @@option includes and rename podman-remote.html in make.ps1 2026-07-31 20:33:07 +05:30
Makefile Add podman-rootless.7 man page 2024-09-05 09:56:48 -04:00
MANPAGE_SYNTAX.md docs: fix incorrect page name 2026-05-05 13:00:53 +02:00
play.png Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
podman-derivative-api Remove varlink support from Podman 2020-11-26 16:50:42 -05:00
README.md docs: update API Reference docs 2026-06-29 12:02:53 +02:00
remote-docs.sh Makefile: add support for building freebsd release tarballs 2023-07-03 15:44:01 +01:00
requirements.txt Use a new markdown converter for sphinx 2021-09-16 21:10:13 +02:00
standalone-styling.css Open Windows tutorial after MSI installation 2022-06-16 23:46:24 -05:00
use-pagetitle.lua [CI:DOCS] Add titles to remote docs (windows) 2021-04-29 22:18:13 +01:00

Podman Documentation

The online man pages and other documents regarding Podman can be found at Read The Docs. The man pages can be found under the Commands link on that page.

Build the Docs

Directory Structure

Directory
Markdown source for man pages docs/source/markdown/
man pages aliases as .so files docs/source/markdown/links/
target for output docs/build
man pages docs/build/man
remote linux man pages docs/build/remote/linux
remote darwin man pages docs/build/remote/darwin
remote windows html pages docs/build/remote/windows

Support files

docs/remote-docs.sh Read the docs/source/markdown files and format for each platform
docs/links-to-html.lua pandoc filter to do aliases for html files
docs/use-pagetitle.lua pandoc filter to set html document title

Manpage Syntax

The syntax for the formatting of all man pages can be found here.

API Reference

The latest online documentation is automatically generated by the readthedocs build process. It uses redoc to render the swagger.yml file, the swagger is build and injected as static resource in the readthedocs build process, see the .readthedocs.yaml file.

The swagger file can be downloaded from https://docs.podman.io/en/latest/_static/swagger.yaml. Note the latest link always contains the latest yaml from the main branch, if you like a specific version replace latest with the version, i.e. for v6.0.0 https://docs.podman.io/en/v6.0.0/_static/swagger.yaml. Also this new process is only done since v5.8.4. Earlier swagger.yml files where uploaded here.

Local Testing

To build standard man pages, run make docs. Results will be in docs/build/man.

To build HTMLized man pages: Assuming that you have the dependencies installed, then also install (showing Fedora in the example):

$ sudo dnf install python3-sphinx python3-recommonmark
$ pip install sphinx-markdown-tables myst_parser

(The above dependencies are current as of 2022-09-15. If you experience problems, please see requirements.txt in this directory, it will almost certainly be more up-to-date than this README.)

After that completes, cd to the docs directory in your Podman sandbox and then do make html.

You can then preview the html files in docs/build/html with:

python -m http.server 8000 --directory build/html

...and point your web browser at http://localhost:8000/