markdown-preprocess: cross-reference where opts are used

In each options/foo.md, keep a list of where the option is used.
This will be valuable to anyone making future edits, and to
those reviewing those edits.

This may be a controversial commit, because those crossref lists
are autogenerated as a side effect of the script that reads them.
It definitely violates POLA. And one day, some kind person will
reconcile (e.g.) --label, using it in more man pages, and maybe
forget to git-commit the rewritten file, and CI will fail.

I think this is a tough tradeoff, but worth doing. Without this,
it's much too easy for someone to change an option file in a way
that renders it inapplicable/misleading for some podman commands.

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago 2022-10-20 09:42:18 -06:00
parent a77ac5be83
commit c9c2f644da
160 changed files with 675 additions and 7 deletions

View File

@ -438,7 +438,7 @@ pkg/api/swagger.yaml:
make -C pkg/api
$(MANPAGES_MD_GENERATED): %.md: %.md.in $(MANPAGES_SOURCE_DIR)/options/*.md
hack/markdown-preprocess $<
hack/markdown-preprocess
$(MANPAGES): %: %.md .install.md2man docdir

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, create, pod create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--add-host**=*host:ip*
Add a custom host-to-IP mapping (host:ip)

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, kube play, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--annotation**=*key=value*
Add an annotation to the container<<| or pod>>. This option can be set multiple times.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman manifest add, manifest annotate
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--annotation**=*annotation=value*
Set an annotation on the entry for the image.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, pull, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--arch**=*ARCH*
Override the architecture, defaults to hosts, of the image to be pulled. For example, `arm`.
Unless overridden, subsequent lookups of the same image in the local storage will match this architecture, regardless of the host.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--attach**, **-a**=*stdin* | *stdout* | *stderr*
Attach to STDIN, STDOUT or STDERR.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman auto update, build, container runlabel, create, image sign, kube play, login, logout, manifest add, manifest push, pull, push, run, search
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--authfile**=*path*
Path of the authentication file. Default is `${XDG_RUNTIME_DIR}/containers/auth.json`, which is set using **[podman login](podman-login.1.md)**.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman container clone, create, pod clone, pod create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--blkio-weight-device**=*device:weight*
Block IO relative device weight.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman container clone, create, pod clone, pod create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--blkio-weight**=*weight*
Block IO relative weight. The _weight_ is a value between **10** and **1000**.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cap-add**=*capability*
Add Linux capabilities.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cap-drop**=*capability*
Drop Linux capabilities.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, container runlabel, image sign, kube play, login, manifest add, manifest push, pull, push
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cert-dir**=*path*
Use certificates at *path* (\*.crt, \*.cert, \*.key) to connect to the registry. (Default: /etc/containers/certs.d)

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cgroup-conf**=*KEY=VALUE*
When running on cgroup v2, specify the cgroup file to write to and its value. For example **--cgroup-conf=memory.high=1073741824** sets the memory.high limit to 1GB.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, create, pod clone, pod create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cgroup-parent**=*path*
Path to cgroups under which the cgroup for the <<container|pod>> will be created. If the

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cgroupns**=*mode*
Set the cgroup namespace mode for the container.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cgroups**=*how*
Determines whether the container will create CGroups.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--chrootdirs**=*path*
Path to a directory inside the container that should be treated as a `chroot` directory.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman kill, pause, rm, stop, unpause
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cidfile**=*file*
Read container ID from the specified *file* and <<subcommand>> the container.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cidfile**=*file*
Write the container ID to *file*.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman logs, pod logs
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--color**
Output the containers with different colors in the log.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman manifest push, push
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--compression-format**=**gzip** | *zstd* | *zstd:chunked*
Specifies the compression format to use. Supported values are: `gzip`, `zstd` and `zstd:chunked`. The default is `gzip` unless overridden in the containers.conf file.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--conmon-pidfile**=*file*
Write the pid of the **conmon** process to a file. As **conmon** runs in a separate process than Podman, this is necessary when using systemd to restart Podman containers.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, container clone, create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cpu-period**=*limit*
Set the CPU period for the Completely Fair Scheduler (CFS), which is a

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, container clone, create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cpu-quota**=*limit*
Limit the CPU Completely Fair Scheduler (CFS) quota.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman container clone, create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cpu-rt-period**=*microseconds*
Limit the CPU real-time period in microseconds.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman container clone, create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cpu-rt-runtime**=*microseconds*
Limit the CPU real-time runtime in microseconds.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, container clone, create, pod clone, pod create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cpu-shares**, **-c**=*shares*
CPU shares (relative weight).

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cpus**=*number*
Number of CPUs. The default is *0.0* which means no limit. This is shorthand

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, container clone, create, pod clone, pod create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cpuset-cpus**=*number*
CPUs in which to allow execution. Can be specified as a comma-separated list

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, container clone, create, pod clone, pod create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--cpuset-mems**=*nodes*
Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, container runlabel, kube play, manifest add, manifest push, pull, push
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--creds**=*[username[:password]]*
The [username[:password]] to use to authenticate with the registry, if required.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman container clone, pod clone
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--destroy**
Remove the original <<container|pod>> that we are cloning once used to mimic the configuration.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman attach, exec, run, start
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--detach-keys**=*sequence*
Specify the key sequence for detaching a container. Format is a single character `[a-Z]` or one or more `ctrl-<value>` characters where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`. Specifying "" will disable this feature. The default is *ctrl-p,ctrl-q*.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--device-cgroup-rule**=*"type major:minor mode"*
Add a rule to the cgroup allowed devices list. The rule is expected to be in the format specified in the Linux kernel documentation (Documentation/cgroup-v1/devices.txt):

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman container clone, create, pod clone, pod create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--device-read-bps**=*path:rate*
Limit read rate (in bytes per second) from a device (e.g. **--device-read-bps=/dev/sda:1mb**).

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--device-read-iops**=*path:rate*
Limit read rate (in IO operations per second) from a device (e.g. **--device-read-iops=/dev/sda:1000**).

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman container clone, create, pod clone, pod create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--device-write-bps**=*path:rate*
Limit write rate (in bytes per second) to a device (e.g. **--device-write-bps=/dev/sda:1mb**).

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--device-write-iops**=*path:rate*
Limit write rate (in IO operations per second) to a device (e.g. **--device-write-iops=/dev/sda:1000**).

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, create, pod clone, pod create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--device**=*host-device[:container-device][:permissions]*
Add a host device to the <<container|pod>>. Optional *permissions* parameter

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman manifest push, push
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--digestfile**=*Digestfile*
After copying the image, write the digest of the resulting image to the file.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, create, pull, push, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--disable-content-trust**
This is a Docker-specific option to disable image verification to a container

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--dns-option**=*option*
Set custom DNS options. Invalid if using **--dns-option** with **--network** that is set to **none** or **container:**_id_.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--dns-search**=*domain*
Set custom DNS search domains. Invalid if using **--dns-search** with **--network** that is set to **none** or **container:**_id_.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--dns**=*ipaddr*
Set custom DNS servers.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--entrypoint**=*"command"* | *'["command", "arg1", ...]'*
Overwrite the default ENTRYPOINT of the image.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, exec, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--env-file**=*file*
Read in a line-delimited file of environment variables.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--env-host**
Use host environment inside of the container. See **Environment** note below for precedence. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines)

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--env-merge**=*env*
Preprocess default environment variables for the containers. For example

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, exec, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--env**, **-e**=*env*
Set environment variables.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--expose**=*port*
Expose a port, or a range of ports (e.g. **--expose=3300-3310**) to set up port redirection

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman manifest add, manifest annotate
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--features**
Specify the features list which the list or index records as requirements for

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman logs, pod logs
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--follow**, **-f**
Follow log output. Default is false.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--gidmap**=*container_gid:host_gid:amount*
Run the container in a new user namespace using the supplied GID mapping. This

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman pod clone, pod create
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--gidmap**=*pod_gid:host_gid:amount*
GID map for the user namespace. Using this flag will run all containers in the pod with user namespace enabled.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--group-add**=*group* | *keep-groups*
Assign additional groups to the primary user running within the container process.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--health-cmd**=*"command"* | *'["command", "arg1", ...]'*
Set or alter a healthcheck command for a container. The command is a command to be executed inside your

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--health-interval**=*interval*
Set an interval for the healthchecks. An _interval_ of **disable** results in no automatic timer setup. The default is **30s**.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--health-on-failure**=*action*
Action to take once the container transitions to an unhealthy state. The default is **none**.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--health-retries**=*retries*
The number of retries allowed before a healthcheck is considered to be unhealthy. The default value is **3**.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--health-start-period**=*period*
The initialization time needed for a container to bootstrap. The value can be expressed in time format like

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--health-timeout**=*timeout*
The maximum time allowed to complete the healthcheck before an interval is considered failed. Like start-period, the

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--hostname**, **-h**=*name*
Container host name

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman pod clone, pod create
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--hostname**=*name*
Set a hostname to the pod.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--hostuser**=*name*
Add a user account to /etc/passwd from the host to the container. The Username

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--http-proxy**
By default proxy environment variables are passed into the container if set

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman pod rm, pod stop, rm, stop
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--ignore**, **-i**
Ignore errors when specified <<containers|pods>> are not in the container store. A user

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--image-volume**=**bind** | *tmpfs* | *ignore*
Tells Podman how to handle the builtin image volumes. Default is **bind**.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman pod clone, pod create
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--infra-command**=*command*
The command that will be run to start the infra container. Default: "/pause".

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman pod clone, pod create
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--infra-conmon-pidfile**=*file*
Write the pid of the infra container's **conmon** process to a file. As **conmon** runs in a separate process than Podman, this is necessary when using systemd to manage Podman containers and pods.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman pod clone, pod create
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--infra-name**=*name*
The name that will be used for the pod's infra container.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--init-path**=*path*
Path to the container-init binary.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--init**
Run an init inside the container that forwards signals and reaps processes.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, exec, run, start
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--interactive**, **-i**
When set to **true**, keep stdin open even if not attached. The default is **false**.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, pod create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--ip**=*ipv4*
Specify a static IPv4 address for the <<container|pod>>, for example **10.88.64.128**.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, pod create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--ip6**=*ipv6*
Specify a static IPv6 address for the <<container|pod>>, for example **fd46:db93:aa76:ac37::10**.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--ipc**=*ipc*
Set the IPC namespace mode for a container. The default is to create

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, pod clone, pod create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--label-file**=*file*
Read in a line-delimited file of labels.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, pod clone, pod create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--label**, **-l**=*key=value*
Add metadata to a <<container|pod>>.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--link-local-ip**=*ip*
Not implemented.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--log-driver**=*driver*
Logging driver for the container. Currently available options are **k8s-file**, **journald**, **none** and **passthrough**, with **json-file** aliased to **k8s-file** for scripting compatibility. (Default **journald**).

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, kube play, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--log-opt**=*name=value*
Logging driver specific options.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, pod create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--mac-address**=*address*
<<Container|Pod>> network interface MAC address (e.g. 92:d0:c6:0a:29:33)

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman container clone, create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--memory-reservation**=*number[unit]*
Memory soft limit. A _unit_ can be **b** (bytes), **k** (kibibytes), **m** (mebibytes), or **g** (gibibytes).

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, container clone, create, pod clone, pod create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--memory-swap**=*number[unit]*
A limit value equal to memory plus swap.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman container clone, create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--memory-swappiness**=*number*
Tune a container's memory swappiness behavior. Accepts an integer between *0* and *100*.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, container clone, create, pod clone, pod create, run, update
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--memory**, **-m**=*number[unit]*
Memory limit. A _unit_ can be **b** (bytes), **k** (kibibytes), **m** (mebibytes), or **g** (gibibytes).

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--mount**=*type=TYPE,TYPE-SPECIFIC-OPTION[,...]*
Attach a filesystem mount to the container

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--name**=*name*
Assign a name to the container.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman logs, pod logs
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--names**, **-n**
Output the container names instead of the container IDs in the log.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, pod create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--network-alias**=*alias*
Add a network-scoped alias for the <<container|pod>>, setting the alias for all networks that the container joins. To set a

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, kube play, pod create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--network**=*mode*, **--net**
Set the network mode for the <<container|pod>>.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--no-healthcheck**
Disable any defined healthchecks for container.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman build, create, kube play, pod create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--no-hosts**
Do not create _/etc/hosts_ for the <<container|pod>>.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman pod stats, stats
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--no-reset**
Do not clear the terminal/screen in between reporting intervals

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman pod stats, stats
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--no-stream**
Disable streaming <<|pod >>stats and only pull the first result, default setting is false

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--oom-kill-disable**
Whether to disable OOM Killer for the container or not.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--oom-score-adj**=*num*
Tune the host's OOM preferences for containers (accepts values from **-1000** to **1000**).

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman manifest add, manifest annotate
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--os-version**
Specify the OS version which the list or index records as a requirement for the

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, pull, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--os**=*OS*
Override the OS, defaults to hosts, of the image to be pulled. For example, `windows`.

View File

@ -1,3 +1,7 @@
####> This option file is used in:
####> podman create, run
####> If you edit this file, make sure your changes
####> are applicable to all of those.
#### **--passwd-entry**=*ENTRY*
Customize the entry that is written to the `/etc/passwd` file within the container when `--passwd` is used.

Some files were not shown because too many files have changed in this diff Show More