- Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Description
This is my pom:
<plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration <image> <name>XXXX.amazonaws.com/${project.artifactId}:${project.version}</name> <imagePlatform>linux/arm64</imagePlatform> <builder>paketobuildpacks/builder-jammy-full</builder><!-- Include diagnostic tools for debugging --> </image> </configuration> </plugin>
And it fails:
[INFO] --- spring-boot:3.4.2:build-image (default-cli) @ backend --- [INFO] Building image 'XXXXX.dkr.ecr.eu-west-1.amazonaws.com/backend:2302' [INFO] [INFO] > Pulling builder image 'docker.io/paketobuildpacks/builder-jammy-full:latest' for platform 'linux/arm64' 100% [INFO] > Pulled builder image 'paketobuildpacks/builder-jammy-full@sha256:5b3738739e97d37edb961773bf8d2c882914fa0e1e98c7f85b474d6a89a328b5' [INFO] > Pulling run image 'docker.io/paketobuildpacks/run-jammy-full:latest' for platform 'linux/arm64' 100% [INFO] > Pulled run image 'paketobuildpacks/run-jammy-full@sha256:03cbe69ed0752182c8035e992e1eaa166f1227ef3bc0627dc196295c84d4d7ef' [INFO] > Executing lifecycle version v0.20.5 [INFO] > Using build cache volume 'pack-cache-5b8cfaffe55b.build' [INFO] [INFO] > Running creator [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.091 s [INFO] Finished at: 2025-02-04T09:48:13+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.4.2:build-image (default-cli) on project backend: Execution default-cli of goal org.springframework.boot:spring-boot-maven-plugin:3.4.2:build-image failed: Docker API call to '/Users/piotr/.docker/run/docker.sock/v1.41/containers/create?platform=linux%2Farm64' failed with status code 404 "Not Found" -> [Help 1]
Metadata
Metadata
Assignees
Labels
type: bugA general bugA general bug