mirror of
https://github.com/containers/podman.git
synced 2025-05-24 18:46:26 +08:00

Move the options for the podman build doc to a common md that can be used by both podman build and podman farm build. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
13 lines
649 B
Markdown
13 lines
649 B
Markdown
####> This option file is used in:
|
|
####> podman build, farm build
|
|
####> If file is edited, make sure the changes
|
|
####> are applicable to all of those.
|
|
#### **--cache-ttl**
|
|
|
|
Limit the use of cached images to only consider images with created timestamps less than *duration* ago.
|
|
For example if `--cache-ttl=1h` is specified, Buildah considers intermediate cache images which are created
|
|
under the duration of one hour, and intermediate cache images outside this duration is ignored.
|
|
|
|
Note: Setting `--cache-ttl=0` manually is equivalent to using `--no-cache` in the
|
|
implementation since this means that the user dones not want to use cache at all.
|