-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Labels
status: duplicateA duplicate of another issueA duplicate of another issue
Description
Not sure if this is a spring-boot or buildpacks error but I'm trying to use the task gradlew bootBuildImage to create a cloud native spring-boot 2.3.4 project.
It works fine locally but in bitbucket pipelines I get this error:
+ bash ./gradlew bootBuildImage
> Task :bootBuildImage
Building image 'docker.io/library/my-app:0.0.1-SNAPSHOT'
> Pulling builder image 'gcr.io/paketo-buildpacks/builder:base-platform-api-0.3' ..................................................
> Pulled builder image 'gcr.io/paketo-buildpacks/builder@sha256:bd63c901299d05e9766e54cf0b0926dcf9bd8e279b9ffeb5c75817f2a6264d61'
> Pulling run image 'docker.io/paketobuildpacks/run:base-cnb' ..................................................
> Pulled run image 'paketobuildpacks/run@sha256:3694710d6b756c6583c51db41e1f1ba3f798bc64b3c437e3dd79d24e1ac28596'
> Executing lifecycle version v0.9.1
> Using build cache volume 'pack-cache-ff37938eddeb.build'
> Running creator
> Task :bootBuildImage FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bootBuildImage'.
> Docker API call to 'localhost:2375/v1.24/containers/create' failed with status code 403 "Forbidden"
Anyone have any idea what this error means? It seems to fail on calling the creator task. I noticed Bitbucket is still running with Docker 18.09.9. Would that cause this issue?
alexandr-efimov, grined, mimozell, ny-ihpc, fastzhong and 3 more
Metadata
Metadata
Assignees
Labels
status: duplicateA duplicate of another issueA duplicate of another issue