mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-14 04:39:33 +00:00
This commit does the following: - Splits the podman-systemd.unit.5.md into multiple files - one for each quadlet file type. - Adds the podman-quadlet-basic-usage.7.md for quadlet examples. - Majority of the text in the new files is copied from the podman-systemd.unit.5.md - Adds support for very simple condditional in the markdown_preprocess. - Uses new logic in markdown_preprocess in options/*.md to use a single .md file for both podman subcommands man-pages and quadlet man-pages. This deduplicates the Quadlet man-pages a lot. - Adds new `@@option quadlet:source.md`` preprocess command to import such .md files from options directory. Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
22 lines
934 B
Markdown
22 lines
934 B
Markdown
####> This option file is used in:
|
|
####> podman build, podman-build.unit.5.md.in, farm build
|
|
####> If file is edited, make sure the changes
|
|
####> are applicable to all of those.
|
|
<< if is_quadlet >>
|
|
### `Label=label`
|
|
<< else >>
|
|
#### **--label**=*label*
|
|
<< endif >>
|
|
|
|
Add an image *label* (e.g. label=*value*) to the image metadata. Can be used
|
|
multiple times.
|
|
|
|
Users can set a special LABEL **io.containers.capabilities=CAP1,CAP2,CAP3** in
|
|
a Containerfile that specifies the list of Linux capabilities required for the
|
|
container to run properly. This label specified in a container image tells
|
|
Podman to run the container with just these capabilities. Podman launches the
|
|
container with just the specified capabilities, as long as this list of
|
|
capabilities is a subset of the default list.
|
|
|
|
If the specified capabilities are not in the default set, Podman prints an error
|
|
message and runs the container with the default capabilities.
|