File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
core/src/main/java/org/testcontainers/images Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 44import com .github .dockerjava .api .command .PullImageCmd ;
55import com .github .dockerjava .api .exception .DockerClientException ;
66import com .github .dockerjava .api .exception .InternalServerErrorException ;
7+ import com .github .dockerjava .api .exception .NotFoundException ;
78import com .google .common .util .concurrent .Futures ;
89import lombok .AccessLevel ;
910import lombok .AllArgsConstructor ;
@@ -155,7 +156,7 @@ private TimeLimitedLoggedPullImageResultCallback pullImage(PullImageCmd pullImag
155156 throws InterruptedException {
156157 try {
157158 return pullImageCmd .exec (new TimeLimitedLoggedPullImageResultCallback (logger )).awaitCompletion ();
158- } catch (DockerClientException e ) {
159+ } catch (DockerClientException | NotFoundException e ) {
159160 // Try to fallback to x86
160161 return pullImageCmd
161162 .withPlatform ("linux/amd64" )
You can’t perform that action at this time.
0 commit comments