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 4
4
import com .github .dockerjava .api .command .PullImageCmd ;
5
5
import com .github .dockerjava .api .exception .DockerClientException ;
6
6
import com .github .dockerjava .api .exception .InternalServerErrorException ;
7
+ import com .github .dockerjava .api .exception .NotFoundException ;
7
8
import com .google .common .util .concurrent .Futures ;
8
9
import lombok .AccessLevel ;
9
10
import lombok .AllArgsConstructor ;
@@ -155,7 +156,7 @@ private TimeLimitedLoggedPullImageResultCallback pullImage(PullImageCmd pullImag
155
156
throws InterruptedException {
156
157
try {
157
158
return pullImageCmd .exec (new TimeLimitedLoggedPullImageResultCallback (logger )).awaitCompletion ();
158
- } catch (DockerClientException e ) {
159
+ } catch (DockerClientException | NotFoundException e ) {
159
160
// Try to fallback to x86
160
161
return pullImageCmd
161
162
.withPlatform ("linux/amd64" )
You can’t perform that action at this time.
0 commit comments