mirror of
https://github.com/containers/podman.git
synced 2026-07-10 07:15:05 -04:00
This patch adds retry plumbing for podman manifest push. CLI flags added: --retry and --retry-delay Flags are read into ImagePushOptions and passed through the local ABI path Remote clients and REST API now respect retry settings (retry / retryDelay) retry-delay is parsed with time.ParseDuration Defaults fall back to containers.conf when the flags are not set Updated manpages, Swagger comments, and e2e tests to validate retry behavior Fixes: #28590 Signed-off-by: Valen Torassa <valentintorassacolombero@gmail.com>
693 B
693 B
####> This option file is used in: ####> podman artifact pull, artifact push, build, podman-build.unit.5.md.in, podman-container.unit.5.md.in, create, farm build, podman-image.unit.5.md.in, manifest push, pull, push, run ####> If file is edited, make sure the changes ####> are applicable to all of those. << if is_quadlet >>
RetryDelay=duration
<< else >>
--retry-delay=duration
<< endif >>
Duration of delay between retry attempts when pulling or pushing images between the registry and local storage in case of failure. The default is to start at two seconds and then exponentially back off. The delay is used when this value is set, and no exponential back off occurs.