testcontainers-java icon indicating copy to clipboard operation
testcontainers-java copied to clipboard

Update RemoteDockerImage to not retry on fatal error, allow user to specify custom retry time limit

Open Kami opened this issue 4 years ago • 2 comments

This pull request resolves "issue" reported in #829.

It updates the code so we don't try to retry on "no basic auth credentials" error which would get returned in case Docker credentials helper is not configured (e.g. when using private registries). This error is fatal so we should not retry on it.

In addition to that, I updated the constructor so users can specify a custom retry time limit.

Kami avatar Feb 23 '21 16:02 Kami