Skip to content

Dockerfile: test containerd v2.1.4 (linux), v2.0.6 (windows)#47335

Merged
AkihiroSuda merged 1 commit intomoby:masterfrom
thaJeztah:containerd_binary_2.0.0-beta.2
Oct 22, 2025
Merged

Dockerfile: test containerd v2.1.4 (linux), v2.0.6 (windows)#47335
AkihiroSuda merged 1 commit intomoby:masterfrom
thaJeztah:containerd_binary_2.0.0-beta.2

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Feb 6, 2024

Update the version of containerd used in CI and for static binaries
to v2.1.4

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

Update containerd (static binaries only) to [v2.1.4](https://github.com/containerd/containerd/releases/tag/v2.1.4)

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah thaJeztah added area/runtime Runtime status/2-code-review area/testing containerd-integration Issues and PRs related to containerd integration labels Feb 6, 2024
@thaJeztah thaJeztah closed this Feb 6, 2024
@thaJeztah thaJeztah reopened this Feb 6, 2024
@thaJeztah thaJeztah force-pushed the containerd_binary_2.0.0-beta.2 branch from 8a6b78f to 34185c7 Compare March 4, 2024 10:31
@thaJeztah thaJeztah force-pushed the containerd_binary_2.0.0-beta.2 branch from 34185c7 to 83a21db Compare June 26, 2024 00:24
@thaJeztah thaJeztah changed the title Dockerfile: test containerd v2.0.0-beta.2 Dockerfile: test containerd v2.0.0-rc.3 Jun 26, 2024
@thaJeztah thaJeztah self-assigned this Jun 26, 2024
@thaJeztah thaJeztah force-pushed the containerd_binary_2.0.0-beta.2 branch from 83a21db to 92a1b97 Compare August 19, 2024 11:36
@thaJeztah thaJeztah force-pushed the containerd_binary_2.0.0-beta.2 branch from 92a1b97 to 6d04119 Compare August 29, 2024 14:58
@thaJeztah thaJeztah changed the title Dockerfile: test containerd v2.0.0-rc.3 Dockerfile: test containerd v2.0.0-rc.4 Aug 29, 2024
@thaJeztah
Copy link
Member Author

Ah, we'll probably need go1.22 first;

2.872 go build  -gcflags=-trimpath=/go/src  -o bin/ctr -ldflags '-X github.com/containerd/containerd/v2/version.Version=v2.0.0-rc.4 -X github.com/containerd/containerd/v2/version.Revision=fa5bf66fdff44846dc475c022bf6b47197febffd -X github.com/containerd/containerd/v2/version.Package=github.com/containerd/containerd/v2 -s -w -extldflags "-static" ' -tags "urfave_cli_no_docs osusergo netgo static_build"  ./cmd/ctr
51.64 # github.com/containerd/containerd/vendor/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes
51.64 vendor/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/custom.go:63:25: undefined: reflect.TypeFor
51.64 vendor/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/custom.go:65:11: undefined: reflect.TypeFor
51.64 vendor/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/custom.go:66:11: undefined: reflect.TypeFor
51.64 vendor/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/custom.go:71:25: undefined: reflect.TypeFor
51.64 vendor/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/custom.go:73:11: undefined: reflect.TypeFor
51.64 vendor/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/custom.go:74:11: undefined: reflect.TypeFor
51.64 vendor/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/custom.go:161:15: undefined: reflect.TypeFor

@thaJeztah thaJeztah force-pushed the containerd_binary_2.0.0-beta.2 branch from 6d04119 to c7ea59c Compare September 3, 2024 09:04
@thaJeztah
Copy link
Member Author

@thaJeztah thaJeztah force-pushed the containerd_binary_2.0.0-beta.2 branch from c7ea59c to 9630cc4 Compare September 16, 2024 12:50
@thaJeztah thaJeztah force-pushed the containerd_binary_2.0.0-beta.2 branch from 9630cc4 to c21002e Compare September 26, 2024 18:30
@AkihiroSuda
Copy link
Member

Could you rebase this with RC.6?

@thaJeztah thaJeztah force-pushed the containerd_binary_2.0.0-beta.2 branch from c21002e to 9220fa5 Compare October 28, 2024 21:42
@thaJeztah thaJeztah changed the title Dockerfile: test containerd v2.0.0-rc.4 Dockerfile: test containerd v2.0.0-rc.6 Oct 28, 2024
@thaJeztah
Copy link
Member Author

@AkihiroSuda updated 👍

@thaJeztah thaJeztah force-pushed the containerd_binary_2.0.0-beta.2 branch from 9220fa5 to 7443abe Compare November 11, 2024 15:31
@thaJeztah thaJeztah changed the title Dockerfile: test containerd v2.0.0-rc.6 Dockerfile: test containerd v2.0.0 Nov 11, 2024
@thaJeztah thaJeztah force-pushed the containerd_binary_2.0.0-beta.2 branch from 7443abe to 8510fc0 Compare November 25, 2024 12:27
@AkihiroSuda
Copy link
Member

Needs rebase

@thaJeztah thaJeztah force-pushed the containerd_binary_2.0.0-beta.2 branch from 8510fc0 to c0c7ee0 Compare January 15, 2025 00:40
@thaJeztah thaJeztah changed the title Dockerfile: test containerd v2.0.0 Dockerfile: test containerd v2.0.2 Jan 15, 2025
@thaJeztah thaJeztah added kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. impact/changelog labels Sep 26, 2025
@thaJeztah thaJeztah modified the milestones: 29.1.0, 29.0.0 Sep 26, 2025
@thaJeztah thaJeztah marked this pull request as ready for review September 26, 2025 18:46
@thaJeztah thaJeztah requested a review from tianon as a code owner September 26, 2025 18:46
@thaJeztah
Copy link
Member Author

Hmmm looks like Windows is broken with this containerd version? Or not compatible with runhcs we use?

Step 6/13 : RUN mkdir C:\tmp && mkdir C:\bin
 ---> Running in 09e9af05c7d7
failed to create task for container: failed to create shim task: ttrpc: closed
Error: Process completed with exit code 1.

@slonopotamus
Copy link
Contributor

You need to check containerd logs. I encountered microsoft/hcsshim#2488 in the past with the same sympthoms as you currently see.

Update the version of containerd used in CI and for static binaries
to v2.1.4

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@AkihiroSuda AkihiroSuda merged commit 695a465 into moby:master Oct 22, 2025
254 of 255 checks passed
@thaJeztah thaJeztah deleted the containerd_binary_2.0.0-beta.2 branch October 22, 2025 09:32
@thaJeztah thaJeztah changed the title Dockerfile: test containerd v2.1.4 Dockerfile: test containerd v2.1.4 (linux), v2.0.6 (windows) Oct 22, 2025
@thompson-shaun thompson-shaun modified the milestones: 29.1.0, 29.0.0 Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dependencies area/runtime Runtime area/testing containerd-integration Issues and PRs related to containerd integration kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. platform/windows process/cherry-pick/25.0 process/cherry-picked status/2-code-review

Projects

Status: Required for default containerd

Development

Successfully merging this pull request may close these issues.

5 participants