-
Notifications
You must be signed in to change notification settings - Fork 11
Application image labels too long for containerd #415
Comments
Hi @jimmykarily. Currently, Paketo creates builder images using the Since In the meantime, a workaround might be to use the Paketo Buildpackless Full Builder. It provides the same build and run-time base images as the Paketo Full Builder, but contains no buildpacks, so the builder image metadata is much shorter. You'd need to explicitly specify buildpacks at build time to use the builder. |
because of this: paketo-buildpacks/full-builder#415 which makes it break on containerd > 1.5.6
Let's keep this open for now. It'll help remind us to keep an eye on the various related upstream things. |
@jimmykarily Hey there, just doing a quick bump. Is this still and issue that you are running into? |
@ForestEckhardt it's fixed. I'm closing this, thanks. |
What happened?
I'm building an image using the full-builder. I'm doing this through Epinio. The cluster I'm using is k3d using the image
rancher/k3s:v1.22.2-k3s2
. That image is running containerdv1.5.7
in it.When containerd tries to start a container using the
paketobuildpacks/builder:full
image, it fails with an error:This seems to originate here: https://github.com/jessvalarezo/containerd/blob/18c4322bb3ddcb8f8b4eea2f3c027a06194041b4/labels/validate.go
Everything works fine on containerd
v1.4.11
. I had a look at changelogs and I think it's this one (introduced in 1.5.6):containerd/containerd#5938
https://github.com/containerd/containerd/pull/6012/files
Is there any reason we we have such long labels on the image?
There have been similar issues in the past: #191
Create a container from
paketobuildpacks/builder:full
with containerd 1.5.6the container to be started
See description. Original issue started here: epinio/epinio#833 (comment)
Build Configuration
pack
,kpack
,tekton
buildpacks plugin, etc.) are youusing? Please include a version.
Epinio build from here: epinio/epinio#868
Didn't get that far
pack inspect-builder <builder>
?paketobuildpacks/builder:full (sha256:e68c940932d2cf17ec10dbc9a4de7af08deec728d7cf5de9278803ec0f96ba6e)
Checklist
The text was updated successfully, but these errors were encountered: