buildpacks / docs

Web content for Cloud Native Buildpacks
https://buildpacks.io
Apache License 2.0
30 stars 162 forks source link

Failed using the builder cnbs/sample-builder:jammy on Mac M3. Success with the builder gcr.io/buildpacks/builder #745

Open JiaoZenghao opened 4 months ago

JiaoZenghao commented 4 months ago

On Page: Build your very first application with buildpacks

natalieparellano commented 4 months ago

Could you post the error message here?

mradulpandey commented 3 months ago

The following command is failing on Mac M3 Pro -

pack build sample-app --path samples/apps/java-maven --builder cnbs/sample-builder:jammy
jammy: Pulling from cnbs/sample-builder
Digest: sha256:9db376e26252b6cbc75190c88ea24571da36ec0d373136be233b32fd174962fc
Status: Image is up to date for cnbs/sample-builder:jammy
jammy: Pulling from cnbs/sample-base-run
Digest: sha256:164610cae6066b77383cb0b67ac40e429745a5fdf3aa0018dd16d43bf40bc92d
Status: Image is up to date for cnbs/sample-base-run:jammy
0.20.0: Pulling from buildpacksio/lifecycle
Digest: sha256:ba1d771ec095df94eb75a667a2fe4178cf8d6f05cde6430c89c7168cd04fcfd3
Status: Image is up to date for buildpacksio/lifecycle:0.20.0
ERROR: failed to build: failed to fetch base layers: saving image with ID "sha256:ba1d771ec095df94eb75a667a2fe4178cf8d6f05cde6430c89c7168cd04fcfd3" from the docker daemon: Error response from daemon: unable to create manifests file: NotFound: content digest sha256:0a68ef0db524980fec8f1110376273d138464b9f0f9daddcc83554d60dc40e9f: not found
Screenshot 2024-08-22 at 10 03 25 AM
docker version          
Client:
 Version:           27.1.1
 API version:       1.46
 Go version:        go1.21.12
 Git commit:        6312585
 Built:             Tue Jul 23 19:54:12 2024
 OS/Arch:           darwin/arm64
 Context:           desktop-linux

Server: Docker Desktop 4.33.0 (160616)
 Engine:
  Version:          27.1.1
  API version:      1.46 (minimum version 1.24)
  Go version:       go1.21.12
  Git commit:       cc13f95
  Built:            Tue Jul 23 19:57:14 2024
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.7.19
  GitCommit:        2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41
 runc:
  Version:          1.7.19
  GitCommit:        v1.1.13-0-g58aa920
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0