testcontainers-java
testcontainers-java copied to clipboard
Update RemoteDockerImage to not retry on fatal error, allow user to specify custom retry time limit
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.