Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f3b2cd

Browse files
authored
fix(dogfood): revert unpin of containerd.io and pin docker-ce (#20349)
Previously we unpinned the containerd.io package since the dogfoodtemplate image build was failing due to docker-ce requiring a newerversion of containerd.io. The build was fixed, but some dogfood machinesexperienced docker-in-docker problems again because their OS versiondidn't have the fixed containerd.io packages available.This PR first reverts the unpinning of the containerd.io package, andpins the docker-ce major version for compatibility with thecontainerd.io package version we have pinned. Newer versions ofdocker-ce have a higher min version of containerd.io. While theunderlying issue that caused us to pin containerd.io is fixed in newerversions, we can't yet remove the pin because some machines runningdogfood are not yet updated to a version of Linux that have a version ofthe fixed package (e.g. ubuntu 20.04).
1 parenta53a568 commit9f3b2cd

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Ref: https://github.com/nestybox/sysbox/issues/879
2+
# We need to pin containerd to a specific version to avoid breaking
3+
# Docker-in-Docker.
4+
Package: containerd.io
5+
Pin: version 1.7.23-1
6+
Pin-Priority: 1001

‎dogfood/coder/files/etc/apt/preferences.d/docker‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ Pin: origin download.docker.com
44
Pin-Priority: 1
55

66
# Docker Community Edition
7+
# We need to pin docker-ce to a specific version because containerd is pinned
8+
# to an older version. Newer major versions of docker-ce require a version of
9+
# containerd.io greater than our pinned version.
710
Package: docker-ce
811
Pin: origin download.docker.com
12+
Pin: version 5:27.*
913
Pin-Priority: 500
1014

1115
# Docker command-line tool

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp