Skip to content

Pull retry policy for pulling remote images#7047

Open
jccampanero wants to merge 13 commits intotestcontainers:mainfrom
jccampanero:6675_3829_image_pull_retry_policy
Open

Pull retry policy for pulling remote images#7047
jccampanero wants to merge 13 commits intotestcontainers:mainfrom
jccampanero:6675_3829_image_pull_retry_policy

Conversation

@jccampanero
Copy link

The pull request try proposing the definition of the concept of image pull retry policy if an error occurs when pulling remote images.

Try to address #3829 and #6675, allowing both the definition of custom retry policies when dealing with a remote image pull error and provides different retry policies with custom timeouts, number of attempts, etc.

It is a work in progress, test cases should be added: please, consider it a starting point for discussing the proposal.

@jccampanero jccampanero requested a review from a team May 17, 2023 22:53
Copy link
Contributor

@linghengqian linghengqian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't this fixed via #9417 ?

@jccampanero
Copy link
Author

I apologize for the late reply @linghengqian.

i think that the solution provided by Edu in #9417 addresses the problem by providing a configurable timeout for retry, and fixing #6675.

But the scope of the PR tries to be more ambitious by defining a configurable policy framework to deal with retries; for instance, it would allow use cases such as the one stated in #3829.

I will try to resolve the conflicts in RemoteDockerImage - sorry, it has been a long time since I proposed the PR and I am afraid it has become obsolete.

Do you think we can work on it in order to include the proposed solution in the project?

Thank you very much for your support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants