Skip to contentSkip to conversation

docker updates

PATCH Superseded Adrian Freihofer 2 participants 6 messages Dec 4, 2022 – Dec 9, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover docker updates

Bring docker on the kirkstone branch to the same commits as they are on master-next. Just let me know if you think this is not the right way. I can easily maintain this on my own layer. But there are some bugs and CVEs in Docker which make this update kind of mandatory for the LTS branch as well.

Some findings:
* runc-docker RUNC_VERSION is on 1.1.2 on master-next. I set it to 1.1.4 bcause this looks correct to me.
* docker: SRCREV_moby is used by do_compile. For docker-ce the variable is undefined on master-next. Here it is initialized to SRCREV_docker.
* docker: Upstream updated to go 1.8 which does no longer compile with Yocto's go 1.7. There is a patch to revert the go update. It's working but not sure how long this way will work.
* Testing: docker-ce running on a arm64 device can run a Debian container. We will do more tests in the future. But that's what I did so far.

Adrian Freihofer (3):
runc-docker: update to 1.1.4-tip
containerd-opencontainers: update to 1.6.9
docker: update from 20.10.12 to 20.10.21

 .../containerd-opencontainers_git.bb          |    6 +-
 recipes-containers/docker/docker-ce_git.bb    |   30 +-
 recipes-containers/docker/docker-moby_git.bb  |   27 +-
 recipes-containers/docker/docker.inc          |    5 +-
 .../files/0001-revert-go-1.8-update.patch     | 1218 +++++++++++++++++
 ...efine-ActKillThread-equal-to-ActKill.patch |   90 --
 recipes-containers/runc/runc-docker_git.bb    |    4 +-
 .../runc/runc-opencontainers_git.bb           |    6 +-
 8 files changed, 1261 insertions(+), 125 deletions(-)
 create mode 100644 recipes-containers/docker/files/0001-revert-go-1.8-update.patch
 delete mode 100644 recipes-containers/runc/files/0002-Define-ActKillThread-equal-to-ActKill.patch
Signature · 1 line
2.38.1
#1 lore raw

PATCH 1/3 runc-docker: update to 1.1.4-tip

Bumping runc to version v1.1.4-8-g974efd2d, which comprises the following commits:

974efd2d Merge pull request #3620 from lab47/b-remove-udev-dep 3b958289 Fixes inability to use /dev/null when inside a container 28fa513e Merge pull request #3630 from kolyshkin/1.1-fix-centos-7-ci-again 335ec376 cirrus-ci: install EPEL on CentOS 7 conditionally
8523022e Merge pull request #3618 from kolyshkin/1.1-fix-centos-7-ci fb145a2f cirrus-ci: enable EPEL for CentOS 7
d66943e6 merge branch 'pr-3564' into release-1.1
276297b6 VERSION: back to development
5fd4c4d1 (tag: v1.1.4) Release 1.1.4
46a5a846 Merge pull request #3554 from kolyshkin/1.1-fix-dev-pts 204c673c [1.1] fix failed exec after systemctl daemon-reload
1c6dc765 Merge pull request #3562 from kolyshkin/1.1-ci-codespell-2.2 ec2efc2c ci: fix for codespell 2.2
7c69bcc6 Merge pull request #3558 from kolyshkin/1.1-fix-cross-386 c778598c [1.1] ci/gha: fix cross-386 job vs go 1.19
b54084fb Merge pull request #3541 from kolyshkin/1.1-exec-noexec d83a861d Fix error from runc run on noexec fs
69734b99 merge branch 'pr-3536' into release-1.1
d614445d [1.1] libct/nsenter: switch to sane_kill()
f4aaf0d8 merge branch 'pr-3538' into release-1.1
3ca5673f CI: workaround CentOS Stream 9 criu issue
c3986e53 tests/int: don't use --criu
f46c0dad [1.1] ci: fix delete.bats for GHA
6b94849d tests/int: runc delete: fix flake, enable for rootless afda6b7c merge branch 'pr-3511' into release-1.1
fa3354dc libct: fix mounting via wrong proc fd
1e7bb5b7 merge branch 'pr-3490' into release-1.1
eb1552a0 VERSION: back to development
6724737f (tag: v1.1.3) VERSION: release 1.1.3
91fa032d ci: add basic checks for CHANGELOG.md
5d74e0f0 Merge pull request #3504 from cyphar/1.1-systemd-devices-nonexistent-files 7219387e cgroups: systemd: skip adding device paths that don't exist da9b9d93 Merge pull request #3494 from eriksjolund/1.1-backport-3489 93d1807b libcontainer: relax getenv_int sanity check
ff14258e merge branch 'pr-3481' into release-1.1
8242c05d script/seccomp.sh: check tarball sha256
017cb29b Dockerfile,scripts/release: bump libseccomp to v2.5.4 131222d6 Merge pull request #3493 from cyphar/1.1-ns_last_pid
51649a7d Allow mounting of /proc/sys/kernel/ns_last_pid
9d00472f merge branch 'pr-3479' into release-1.1
3a09da6b ci: drop docker layer caching from release job
fa7cca98 Merge pull request #3478 from cyphar/1.1-seccomp-enosys-setup 8b93f9fb seccomp: enosys: always return -ENOSYS for setup(2) on s390(x) 1839c392 Merge pull request #3476 from kolyshkin/1.1-dbus-err
fc2a8fe1 libct/cg/sd: check dbus.ErrClosed instead of isDbusError 13e164db merge branch 'pr-3477' into release-1.1
d105e052 libct/seccomp/config: add missing KillThread, KillProcess e4474ef8 [1.1] vendor: bump seccomp/libseccomp-golang to f33da4d dc083b2b fix deprecated ActKill

---
 ...efine-ActKillThread-equal-to-ActKill.patch | 90 -------------------
 recipes-containers/runc/runc-docker_git.bb    |  4 +-
 .../runc/runc-opencontainers_git.bb           |  6 +-
 3 files changed, 5 insertions(+), 95 deletions(-)
 delete mode 100644 recipes-containers/runc/files/0002-Define-ActKillThread-equal-to-ActKill.patch
recipes-containers/runc/files/0002-Define-ActKillThread-equal-to-ActKill.patch deleted +0 -90
deleted file mode 100644
index ba51d4a..0000000
@@ -1,90 +0,0 @@
-From f2aa0359bcc776239bda8a4eb84957b97ef55c35 Mon Sep 17 00:00:00 2001
-From: Tonis Tiigi <[email protected]>
-Date: Fri, 28 Jan 2022 14:44:56 -0800
-Subject: [PATCH] Define ActKillThread equal to ActKill
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-These constants are equal in libseccomp but Go definitions
-were defined separately. This resulted in dead code that
-never executed due to identical case statements in switch.
-Go can usually detect these error cases and refuses to build
-but for some reason this detection doesn’t work with cgo+gcc.
-Clang detects the equal constants correctly and therefore
-libseccomp-golang builds with clang broke after ActKillThread
-was added.
-
-In order to fix the clang build only removal of the
-switch case is needed. But I assumed that the setter/getter
-logic is supposed to work for ActKillThread as well
-and only way to ensure that is to set them equal like they
-are in C.
-
-Signed-off-by: Tonis Tiigi <[email protected]>
-Signed-off-by: Sebastiaan van Stijn <[email protected]>
-Acked-by: Tom Hromatka <[email protected]>
-Signed-off-by: Paul Moore <[email protected]>
-Signed-off-by: Andrei Gherzan <[email protected]>
-Upstream-status: Backport [https://github.com/seccomp/libseccomp-golang/commit/c35397d0ea8f285a0be78693bb2fd37b06952453]
----
- seccomp.go          | 8 ++++----
- seccomp_internal.go | 4 ----
- 2 files changed, 4 insertions(+), 8 deletions(-)
-
-diff --git a/seccomp.go b/seccomp.go
-index e9b92e2..32f6ab2 100644
---- a/seccomp.go
-+++ b/seccomp.go
-@@ -214,14 +214,14 @@ const (
- 	// This action is only usable when libseccomp API level 3 or higher is
- 	// supported.
- 	ActLog ScmpAction = iota
--	// ActKillThread kills the thread that violated the rule. It is the same as ActKill.
--	// All other threads from the same thread group will continue to execute.
--	ActKillThread ScmpAction = iota
- 	// ActKillProcess kills the process that violated the rule.
- 	// All threads in the thread group are also terminated.
- 	// This action is only usable when libseccomp API level 3 or higher is
- 	// supported.
- 	ActKillProcess ScmpAction = iota
-+	// ActKillThread kills the thread that violated the rule. It is the same as ActKill.
-+	// All other threads from the same thread group will continue to execute.
-+	ActKillThread = ActKill
- )
- 
- const (
-@@ -394,7 +394,7 @@ func (a ScmpCompareOp) String() string {
- // String returns a string representation of a seccomp match action
- func (a ScmpAction) String() string {
- 	switch a & 0xFFFF {
--	case ActKill, ActKillThread:
-+	case ActKillThread:
- 		return "Action: Kill thread"
- 	case ActKillProcess:
- 		return "Action: Kill process"
-diff --git a/seccomp_internal.go b/seccomp_internal.go
-index 8dc7b29..8fc9914 100644
---- a/seccomp_internal.go
-+++ b/seccomp_internal.go
-@@ -612,8 +612,6 @@ func (a ScmpCompareOp) toNative() C.int {
- func actionFromNative(a C.uint32_t) (ScmpAction, error) {
- 	aTmp := a & 0xFFFF
- 	switch a & 0xFFFF0000 {
--	case C.C_ACT_KILL:
--		return ActKill, nil
- 	case C.C_ACT_KILL_PROCESS:
- 		return ActKillProcess, nil
- 	case C.C_ACT_KILL_THREAD:
-@@ -638,8 +636,6 @@ func actionFromNative(a C.uint32_t) (ScmpAction, error) {
- // Only use with sanitized actions, no error handling
- func (a ScmpAction) toNative() C.uint32_t {
- 	switch a & 0xFFFF {
--	case ActKill:
--		return C.C_ACT_KILL
- 	case ActKillProcess:
- 		return C.C_ACT_KILL_PROCESS
- 	case ActKillThread:
--- 
-2.25.1
-
recipes-containers/runc/runc-docker_git.bb +2 -2
index f2c0613..97373a7 100644
@@ -2,13 +2,13 @@ include runc.inc
 
 # Note: this rev is before the required protocol field, update when all components
 #       have been updated to match.
-SRCREV_runc-docker = "b507e2da6c6a3a328f208fa415a56ad7cd58761b"
+SRCREV_runc-docker = "974efd2dfca0abec041a3708a2b66bfac6bd2484"
 SRC_URI = "git://github.com/opencontainers/runc;branch=release-1.1;name=runc-docker;protocol=https \
            file://0001-runc-Add-console-socket-dev-null.patch \
            file://0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch \
            file://0001-runc-docker-SIGUSR1-daemonize.patch \
           "
 
-RUNC_VERSION = "1.1.2"
+RUNC_VERSION = "1.1.4"
 
 CVE_PRODUCT = "runc"
recipes-containers/runc/runc-opencontainers_git.bb +3 -3
index f9dae6a..350bfd7 100644
@@ -1,11 +1,11 @@
 include runc.inc
 
-SRCREV = "b507e2da6c6a3a328f208fa415a56ad7cd58761b"
+SRCREV = "974efd2dfca0abec041a3708a2b66bfac6bd2484"
 SRC_URI = " \
     git://github.com/opencontainers/runc;branch=release-1.1;protocol=https \
     file://0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch \
-    file://0002-Define-ActKillThread-equal-to-ActKill.patch;patchdir=src/import/vendor/github.com/seccomp/libseccomp-golang \
     "
-RUNC_VERSION = "1.1.2"
+
+RUNC_VERSION = "1.1.4"
 
 CVE_PRODUCT = "runc"
Signature · 1 line
2.38.1
#2 lore raw

PATCH 2/3 containerd-opencontainers: update to 1.6.9

In reply to Adrian Freihofer

1c90a4424 (tag: v1.6.9) Merge pull request #7573 from samuelkarp/release/1.6.9 96929a5d3 Merge pull request #7574 from swagatbora90/backport-cap-bpf-perfmon f1493f665 Prepare release notes for v1.6.9
346412f5a adding support of CAP_BPF and CAP_PERFMON
99578d1fc Update mailmap
8b9c35a19 Merge pull request #7571 from sophieliu15/release/1.6
a956d8415 Add logging volume metrics to Containerd CRI plugin
8658d0b51 Merge pull request #7562 from dcantah/cp-concurrent-closech
29e2dea50 fix pusher concurrent close channel
9a194f78b Merge pull request #7557 from kzys/backport/1.6/stats-nil
9edb14386 Merge pull request #7551 from samuelkarp/ip-leakage-flake/1.6
8a9d69385 [release/1.6] Stats() shouldn't assume s.container is non-nil
74e9e4c43 Merge pull request #7549 from SergeyKanzhelev/switchToRegistry
a9adc7938 cri: PodSandboxStatus should tolerate missing task
b66eb726a migrate from k8s.gcr.io to registry.k8s.io
6afbeac96 Merge pull request #7518 from kzys/backport/1.6/continuity-fix
5b40993a5 [release/1.6] upgrade containerd/continuity from v0.2.2 to v0.3.0 dccb15294 Merge pull request #7505 from qiutongs/backport-netns-1.6
f2376e659 Update container with sandbox metadata after NetNS is created
d9e2ba255 Merge pull request #7490 from samuelkarp/archive-dgst-validate/1.6 06f82efef archive: validate digests before use
1eb637f95 Merge pull request #7475 from thaJeztah/1.6_bump_go_1.18.7
6496ac61e Merge pull request #7461 from akhilerm/cherry-pick-6995-1.6
28324c529 [release/1.6] Update go 1.18.7, addresses CVE-2022-2879, CVE-2022-2880, CVE-2022-41715 0aeeb62cb [release/1.6] update golangci-lint to v1.19.0
7db9d1f76 Fix linter warnings
4dc932e62 [release/1.6] gofmt with go1.19
7b8d679ad [release/1.6] integration: remove use of deprecated io/ioutil
a91dd679b Merge pull request #7456 from qiutongs/backport-ip-leakage-1.6
926b9c72f retry request on writer reset
b9a35c6af Add integration tests with failpoint
1f29fac48 Persist container and sandbox if resource cleanup fails, like teardownPodNetwork 6338ef8d1 Merge pull request #7455 from qiutongs/backport-failpoint-1.6
a85709c6c integration: simplify CNI-fp and add README.md
d89a8d223 pkg/failpoint: add FreeBSD link and update pkg doc
b0ce2965a integration: Add injected failpoint testing for RunPodSandbox
a7f956d86 integration: CNI bridge wrapper with failpoint
07c479471 pkg/failpoint: add DelegatedEval API
4a5bc05aa runtime/v2/shim: return if error in load plugin
71ee7de24 bin/ctr,integration: new runc-shim with failpoint
3e2e77849 runtime/v2: manager supports server interceptor
cb935bf49 pkg/failpoint: init failpoint package
2cbb524b9 Merge pull request #7447 from estesp/cp-7094-1.6
2fdfd564c make xattr EPERM non-fatal in createTarFile
7b93a228e Merge pull request #7438 from Iceber/skip_verify_1.6
89e49609d remotes/docker/config: Skipping TLS verification for localhost
bf1b93eac Merge pull request #7427 from fuweid/16-cp-7369-7416
b720be2ce remove stray .zuul.yaml
6b30bc4b4 .zuul: remove the zuul because it is offline
3228848c6 Merge pull request #7421 from ruiwen-zhao/release-1.6-grpc
0f7e258ee Set grpc code for unimplemented cri-api methods
462caf1eb Merge pull request #7410 from ruiwen-zhao/container_resource_1.6 fb753e5cd update intergration
6ee5bb7ea bump cri-api
ae8598615 ContainerStatus to return container resources
d3c7e31c8 Update CRI-API
23d2278a2 Merge pull request #7340 from dcermak/backport-golang-x-crypto-vendor 5b44c5271 vendor: golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd
de1a1905d Merge pull request #7333 from thaJeztah/1.6_backport_runc
3507d600b update runc binary to v1.1.4
579a6380e Merge pull request #7299 from samuelkarp/ci-workflow-goproxy/1.6 1be2cb348 Merge pull request #7298 from deckhouse/docker-compat-1.6
1efd8b947 ci: remove GOPROXY environment variable due to https://github.com/go-yaml/yaml/issues/887
0448673af Do not append []string{""} to command to preserve Docker compatibility 9ff72800f Merge pull request #7274 from mxpv/critest
5c230ece0 Fix cleanup in critest
026ac1c17 Merge pull request #7268 from thaJeztah/1.6_backport_no_tun
9cd3357b7 (tag: v1.6.8) Merge pull request #7263 from dmcgowan/prepare-1.6.8 ed9d3dc37 oci: WithDefaultUnixDevices(): remove tun/tap from the default devices 3364f411e Prepare release notes for v1.6.8
a76f3c831 Merge pull request #7261 from samuelkarp/release-workflow/1.6
390920429 release workflow: remove Go setup action
cf48ba6e8 release workflow: increase timeout to 30 minutes
76f5db42f Merge pull request #7260 from samuelkarp/fix-7255/1.6
57873e652 release: rollback Ubuntu to 18.04 (except for riscv64)
0197261a3 (tag: v1.6.7) Merge pull request #7250 from dmcgowan/release-1.6-update-build-timeout eccb82f6d Update release build timeout to 20 minutes
5f242b5bf Merge pull request #7225 from dcantah/v1.6.7-rnotes
6a854d4b5 Update mailmap
61612e1a2 Prepare release notes for 1.6.7
78f438957 Merge pull request #7244 from dcantah/update-go-1.17.13
d199ee462 Update golang to 1.17.13
d97553c9a Merge pull request #7242 from dcantah/cp-windows-svc-osstderr
0578d20c5 Change os.Stderr reassign for Windows service
7438c0a7b Merge pull request #7230 from estesp/cp-7206
2e236d4fc Merge pull request #7227 from dcantah/cp-hpcstats-test
12cae4961 Update Vagrant CI to macos-12
bc4091aae chore: bump macos runner version
cb73bd050 Windows HostProcess container CRI stats test
ac388525a Add validations for Windows HostProcess CRI configs
d97257190 Merge pull request #7200 from dcantah/1.6-hcsshim-v0.9.4
0007f40fe [release/1.6] go.mod: Bump hcsshim to v0.9.4
6ae451b97 Merge pull request #7217 from estesp/update-fedora
c9607e78c Update Fedora version to 36
1f5ca004e Merge pull request #7170 from AkihiroSuda/riscv64-1.6
2952b66c0 CI: add riscv64 builds
6b2dc9a37 release/Dockerfile: update Ubuntu to 22.04 for supporting riscv64 745dc07c4 seccomp: support riscv64
c2f841f21 Create ppc64le release
73b85c0c5 Merge pull request #7171 from AkihiroSuda/cherrypick-6810-1.6
0a0a154d6 Merge pull request #7172 from AkihiroSuda/cherrypick-7149-1.6
86b55bd8d seccomp: allow clock_settime64 when CAP_SYS_TIME is added
f3da3e51f allow ptrace(2) by default for kernel >= 4.8
604d0bdf5 Merge pull request #7160 from thaJeztah/1.6_update_go
aa1101068 [release/1.6] update golang to 1.17.12
4e92d8e7e Merge pull request #7131 from kzys/backport/1.6/7126
37dfc5c9d [release/1.6] Fix WWW-Authenticate parsing
288440aad Merge pull request #7133 from kzys/backport/1.6/7106
fa2016d58 [release/1.6] Downgrade MinGW to version 10.2.0
6309dc487 Merge pull request #7051 from Iceber/fix-run-controller-manager-1.6 99c56d217 ctr: fix label args used in NewContainer
3dce36e42 Merge pull request #7045 from kzys/backport/1.6/7022
51de785f8 [release/1.6] Make building static binaries simpler
9abd4b3f3 Merge pull request #7036 from thaJeztah/1.6_update_runc2
2ea4e6348 update runc binary to v1.1.3

---
 .../containerd/containerd-opencontainers_git.bb             | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/containerd/containerd-opencontainers_git.bb +3 -3
index 35a27d4..6d0a287 100644
@@ -5,7 +5,7 @@ DESCRIPTION = "containerd is a daemon to control runC, built for performance and
                support as well as checkpoint and restore for cloning and live migration of containers."
 
 
-SRCREV = "4e92d8e7e439530f5bb17e57a77481e9aa3da851"
+SRCREV = "6c41694da9eb09c2f1f49a5a5fbec4e970cfb460"
 SRC_URI = "git://github.com/containerd/containerd;branch=release/1.6;protocol=https \
            file://0001-Add-build-option-GODEBUG-1.patch \
            file://0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch \
@@ -15,8 +15,8 @@ SRC_URI = "git://github.com/containerd/containerd;branch=release/1.6;protocol=ht
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=1269f40c0d099c21a871163984590d89"
 
-CONTAINERD_VERSION = "v1.6.6"
-CVE_VERSION = "1.6.6"
+CONTAINERD_VERSION = "v1.6.9"
+CVE_VERSION = "1.6.9"
 
 EXTRA_OEMAKE += "GODEBUG=1"
 
Signature · 1 line
2.38.1
#3 lore raw

PATCH 3/3 docker: update from 20.10.12 to 20.10.21

In reply to Adrian Freihofer

* Add mobyproject:moby to CVE_PRODUCT
* Define SRCREV_moby variable for docker-ce as well

Release notest: https://docs.docker.com/engine/release-notes

3056208812 (tag: v20.10.21) Merge pull request #44358 from thaJeztah/20.10_backport_busybox_w32_img f99cb8297b integration: download busybox-w32 from GitHub Release
24aa4c9c43 Merge pull request #44353 from thaJeztah/20.10_backport_update_containerd_binary 3f9dc25f5c update containerd binary to v1.6.9
753cd92a31 Merge pull request #44326 from thaJeztah/20.10_bump_term_ansiterm
82f583c8af Merge pull request #44339 from crazy-max/20.10_update_buildkit
87ccd38cea vendor: moby/term, Azure/go-ansiterm for golang.org/x/sys/windows compatibility e83e465ae2 [20.10] vendor: github.com/moby/buildkit eeb7b65ab7d651770a5ec52a06ea7c96eb97a249 (v0.8 branch) e3fef9aea9 Merge pull request #44340 from thaJeztah/20.10_backport_skip_tests
9c84417c1b skip TestImagePullStoredfDigestForOtherRepo() on Windows and rootless
93c2c3bc60 Merge pull request #44332 from corhere/backport-20.10/fix-git-windows-environ 5b5b5c6f13 builder: add missing doc comment
05e25f7892 builder: fix running git commands on Windows
2b7f97a974 Merge pull request #44313 from tianon/20.10-distributable
03df974ae9 (tag: v20.10.20) Merge pull request #6 from moby/ghsa-ambiguous-pull-by-digest 3adff51f85 Merge pull request #9 from moby/update_buildkit
d7c33ad827 Merge pull request #8 from moby/20.10_fix_git_file_leak
2f3bf18014 [20.10] vendor moby/buildkit v0.8.3-31-gc0149372
6699afa549 registry: allow "allow-nondistributable-artifacts" for Docker Hub
4b9902bad4 Validate digest in repo for pull by digest
c0d1188c14 builder: make git config isolation opt-in
9f5f3abcee builder: isolate git from local system
10db4c2db7 builder: explicitly set CWD for all git commands
8816c3c2aa builder: modernize TestCheckoutGit
c964641a0d (tag: v20.10.19) Merge pull request #44122 from thaJeztah/20.10_bump_buildkit 3bb99735b6 Merge pull request #44127 from thaJeztah/20.10_backport_image_spec_no_literal 435c40ce15 Merge pull request #44247 from thaJeztah/20.10_bump_go_1.18.7
11bdbf40b9 [20.10] Update to go 1.18.7 to address CVE-2022-2879, CVE-2022-2880, CVE-2022-41715 35eaf7ecc4 Merge pull request #44238 from cpuguy83/20.10_fix_restore_volumerefs
66ddb7f91c Fix live-restore w/ restart policies + volume refs
f219cb5ded Merge pull request #44218 from thaJeztah/20.10_backport_more_robust_rootless c003392582 contrib: make dockerd-rootless-setuptool.sh more robust
53313be0f3 docker-rootless-setuptools.sh: use context after install
4163c55082 Merge pull request #44202 from crazy-max/20.10_backport_api-fix-logo
9c486bd267 swagger: update links to logo
956161115f Merge pull request #44167 from thaJeztah/20.10_backport_update_containerd_console 668ab11a67 Merge pull request #44145 from neersighted/bump_memberlist_20.10
fa17fab895 vendor: github.com/containerd/console v1.0.2
481bee51b5 vendor: github.com/armon/go-metrics v0.4.1
39ba2873e8 vendor: github.com/google/btree v1.1.2
c2755f40cd vendor: github.com/hasicorp/memberlist v0.4.0
cc3aa33f54 Merge pull request #44123 from linux-on-ibm-z/20.10-CI
5ba3208ec7 Dockerfile: Update Dockerfile syntax, switch to bullseye, add missing libseccomp-dev, remove build pack 6d6a236286 [20.10] Update uses of Image platform fields in OCI image-spec
2570784169 [20.10] vendor: github.com/moby/buildkit 3a1eeca59a9263613d996ead67d53a4b7d45723d (v0.8 branch) e42327a6d3 (tag: v20.10.18) Merge pull request #44120 from thaJeztah/20.10_backport_update_tests fcd4df906b Update some tests for supplementary group permissions
bb0197c829 Merge pull request from GHSA-rc4r-wh2q-q6c4
d348775bd5 Merge pull request #44109 from rumpl/20.10-fix-local-context
6a0186b357 Wrap local calls to the content and lease service
b73e9c2c8a Merge pull request #44098 from thaJeztah/20.10_backport_swagger_updates
4855c28780 Merge pull request #44101 from thaJeztah/20.10_backport_bump_golang_1.18.6 3d4616f943 Update to go 1.18.6 to address CVE-2022-27664, CVE-2022-32190
d56101e0d2 Merge pull request #44093 from thaJeztah/20.10_backport_remove_tereshkova
23c7d84b84 docs: api: adjust ContainerWaitResponse error as optional
3e9e79d134 docs: api: document ImageSummary fields (api v1.39-v1.41)
fdd438ae03 api: docs: improve documentation of ContainerConfig type (API v1.30-v1.41) 97014a8db5 namesgenerator: remove Valentina Tereshkova
e44d7f735e AdditionalGids must include effective group ID
b0d57e0ed4 Merge pull request #44067 from thaJeztah/20.10_update_containerd_vendor
9e7662e4a7 [20.10] vendor: update containerd to latest of docker-20.10 branch
f7f1f960ea Merge pull request #44081 from thaJeztah/20.10_backport_tarsplit
7dac25a3a9 vendor: update tar-split to v0.11.2
d346080204 Merge pull request #44041 from thaJeztah/20.10_backport_ontainerd_binary_1.6.8 1c7b0dabc5 Merge pull request #44038 from thaJeztah/20.10_backport_update_runc_1.1.4
8bd86a0699 update containerd binary to v1.6.8
6c8dd6a6f2 update runc to v1.1.4
0bd91f300e Merge pull request #44018 from thaJeztah/20.10_backport_healthcheck_timeout 418c141e64 [20.10 backport] daemon: kill exec process on ctx cancel
62fd7187d0 Merge pull request #43991 from thaJeztah/20.10_seccomp_updates
7d4cc78c02 Merge pull request #43976 from thaJeztah/20.10_backport_bump_golang_1.18
d127287d92 Allow different syscalls from kernels 5.12 -> 5.16
57db169641 seccomp: add support for Landlock syscalls in default policy
reverted: 7ba8ca042c Update golang to 1.18.5
reverted: f2a3c3bcef update golang to 1.18.4
reverted: a99c9cd852 update golang to 1.18.3
reverted: 82939f536b update golang to 1.18.2
reverted: ecd1aa081f update golang to 1.18.1
7ba67d05a8 [20.10] vendor: update archive/tar for go 1.18
0bc432241e update golang to 1.18.0
bb95d09f9a staticcheck: ignore "SA1019: strings.Title is deprecated"
32debe0986 Merge pull request #43975 from thaJeztah/20.10_backport_update_golangci_lint a7299ae72c Dockerfile: update golangci-lint v1.44.0
d97fd533cf integration-cli: SA5011: possible nil pointer dereference (staticcheck)
e6aee04a88 client.NewClientWithOpts(): remove redundant type assertion (gosimple)
0523323c28 daemon/logger/awslogs: suppress false positive on hardcoded creds (gosec)
adeb29c64c client/request.go:157:8: SA1019: err.Temporary is deprecated (staticcheck) 50361d91a6 registry: trimV1Address(): simplify trimming trailing slash
ae3a9337dd golangci.yml: do not limit max reported issues
9820255a1c golangci.yml: skip some tests
d223f37300 golangci.yml: update regex for ignoring SA1019
ec3bfba89d graphdriver: temporarily ignore unsafeptr: possible misuse of reflect.SliceHeader f2f387b131 daemon: var-declaration: should omit type bool (revive)
2fb7c9fea7 daemon/config: error strings should not be capitalized
fa6954cb98 reformat "nolint" comments
45fa675a35 if-return: redundant if ...; err != nil check (revive)
9e88f8435a daemon/splunk: ignore G402: TLS MinVersion too low for now
2de90ebbe4 pkg/archive: RebaseArchiveEntries(): ignore G110
14b475d091 daemon/stats: fix notRunningErr / notFoundErr detected as unused (false positive) db7b3f4737 unused: ignore false positives
b6de0ca7c5 G601: Implicit memory aliasing in for loop
e8b838e99f gosec: G601: Implicit memory aliasing in for loop
2ddf6e598a gosimple: S1039: unnecessary use of fmt.Sprintf
fadf8bbdff staticcheck: SA4001: &*x will be simplified to x. It will not copy x
7573e32577 client: S1031: unnecessary nil check around range (gosimple)
e738a57a6d daemon/logger/journald: fix linting errors
34f6b94255 gosec: G404: Use of weak random number generator
a77093b4fe Merge pull request #43911 from thaJeztah/20.10_backport_buildkit_api_docs
5e6d42aa9d Merge pull request #43918 from thaJeztah/20.10_backport_bump_containerd_1.6.7_binary a345492301 Merge pull request #43859 from olljanat/20.10_backport_restore-custom-nat-networks a6d7b61c8b update containerd binary to v1.6.7
b4ba1ee22f update runc binary to v1.1.3
195761c1fa Merge pull request #43889 from thaJeztah/20.10_backport_api_fix_missing_platform da8828c4b3 api: swagger: fix invalid example value (API v1.39-v1.41)
1c0ca366dd Merge pull request #43905 from thaJeztah/20.10_bump_golang_1.17.13
9501d91e19 api: swagger: document BuildCache fields (API v1.39-v1.41)
61fdea902b api: swagger: document BuildCache fields.
c77432c889 [20.10] Update golang to 1.17.13
2833aa1e4b docs: api: add missing "platform" query-arg on create (v1.41)
a8c28260ad api: swagger: add missing "platform" query-arg on create
a70ae13d3b Merge pull request #43876 from thaJeztah/20.10_backport_42655_vfs_storage_driver cfdc075b1c Fix file capabilities droping in Dockerfile
2daa6bb6b3 Windows: Re-create custom NAT networks after restart if missing from HNS
21b91d3fd5 Merge pull request #43824 from AkihiroSuda/libnetwork-20220716
903cd53ce4 vendor: libnetwork 0dde5c895075df6e3630e76f750a447cf63f4789
55cbb2fc57 Merge pull request #43803 from thaJeztah/20.10_update_golang_1.17.12
eccaf6d368 [20.10] update golang to 1.17.12
3949ff121e Merge pull request #43770 from xinfengliu/20.10_backport_update_continuity ff7feeac37 vendor: github.com/containerd/continuity v0.3.0
a89b84221c (tag: v20.10.17) Merge pull request #43701 from thaJeztah/20.10_backport_update_containerd_1.6.6 6f3f2b6d08 update containerd binary to v1.6.6
3fba09221e Merge pull request #43692 from thaJeztah/20.0_backport_bump_containerd_binary_1.6.5 678cc00583 Merge pull request #43589 from thaJeztah/20.10_backport_bump_runc
b3bcb15da8 update containerd binary to v1.6.5
59d0ff35f8 Merge pull request #43686 from dfr/backport-freebsd-mknod
434eecd2cc Merge pull request #43683 from neersighted/update-libnetwork
f55b030fa0 system: unbreak build for darwin
63ab12cd3a Port pkg/system/mknod.go to FreeBSD
081e538fbd vendor: libnetwork f6ccccb1c082a432c2a5814aaedaca56af33d9ea
4159fa6860 Merge pull request #43677 from thaJeztah/20.10_update_golang_1.17.11
8e9d647c01 [20.10] update golang to 1.17.11
90033ab093 Merge pull request #43644 from ameyag/20.10-win-port-conflict
87ead7fd2a vendor: hcsshim a11a2c44e8a4aa9d66314b1d759ef582df5ab5e8
27f8322324 vendor: libnetwork 2dab5620d4462865c6151e573b3e7fa5d3b8458b
506d28dca8 Merge pull request #43612 from thaJeztah/20.10_backport_websocket_streams_docs_touch_ups 829951ec19 docs: api: /containers/{id}/attach/ws: remove unsupported query-args < v1.42 7307a0d583 Merge pull request #43606 from rumpl/20.10_backport_rename-reservation
6cbe73bfc0 Rename Reservation to Reservations in the open API
d9ed3d7e28 update runc binary to v1.1.2
f756502055 (tag: v20.10.16) Merge pull request #43582 from thaJeztah/20.10_bump_golang_1.17.10 a15acb4bd6 [20.10] vendor: golang.org/x/sys v0.0.0-20220412211240-33da011f77ad
5f2e0b79ad [20.10] update golang to 1.17.10
462cd7de50 Merge pull request #43567 from 42wim/fixstats
be7855fdbe vendor: update github.com/containerd/cgroups and github.com/cilium/ebpf
4433bf67ba (tag: v20.10.15) Merge pull request #43561 from thaJeztah/20.10_backport_bump_containerd_binary_1.6.4 414a9e24a7 update containerd binary to v1.6.4
0809f5fafb Merge pull request #43433 from thaJeztah/20.10_backport_update_containerd_runc 47b6a924b6 update containerd binary to v1.6.3
6d7c2b2d26 update containerd binary to v1.6.2
91708bf704 update containerd binary to v1.6.1
53ae17008e Revert "[20.10] update containerd binary to 1.5.11"
961b9a78d5 update runc binary to v1.1.1
97972dac5f update runc binary to v1.1.0
2929771a53 Merge pull request #43499 from thaJeztah/20.10_bump_golang_1.17.9
033a819714 [20.10] update golang to 1.17.9
ecf2eee0f6 Merge pull request #43486 from thaJeztah/20.10_backport_fix_dco_check
a80884126b Jenkinsfile: add workaround for CVE-2022-24765
086a3fa036 Merge pull request #43468 from thaJeztah/20.10_backport_update_go_1.17
09d6fcdfec update to go 1.17.8 to address CVE-2022-24921
5957684b2c Update Go to 1.17.7
55b72c70ba Update Go to 1.17.6
fdf3020bd5 Update Go to 1.17.5
36e164ba80 Update Go to 1.17.4
ecfba8f588 Update Go to 1.17.3
4e14dcc125 Update Go to 1.17.2
c32b5ece31 Update Go to 1.17.1
7096508811 vendor: update archive/tar to match Go 1.17.0
a1150245cc Update to Go 1.17.0, and gofmt with Go 1.17
95cc7115fb hack/vendor.sh: allow go version to be specified with .0
949c33b1c5 vendor: golang.org/x/sys 63515b42dcdf9544f4e6a02fd7632793fde2f72d (for Go 1.17) 8392285876 vendor: golang.org/x/sys d19ff857e887eacb631721f188c7d365c2331456
9ee5abed9c Merge pull request #43470 from thaJeztah/20.10_backport_bump_buildx_0.8.2
4e81bcf380 Makefile: update buildx to v0.8.2
74e699c8d3 Makefile: update buildx version to v0.6.0
bc3cc2e7ac Makefile: install buildx from binary release, instead of building
811795ccd7 Merge pull request #43454 from thaJeztah/20.10_update_distribution
ae7f230408 Merge pull request #43460 from thaJeztah/20.10_backport_docs_fixes
492fac20af api: docs: fix indentation of HostConfig.SecurityOpt (v1.39-v1.41)
3cba2682d8 api: docs: move ContainerWaitResponse to definitions (v1.39-v1.41)
55e71450ae api: docs: move VolumeCreateOptions to definitions (v1.39-v1.41)
c54362cd64 api: docs: move Volume examples inline (v1.39-v1.41)
c60ff9b296 doc: server API Correct ImagesCreate - platform parameter added in 1.32
7a45f7a8cc docs: cleanup swagger API with multiple examples (v1.25-v1.41)
29bb9204bf api: docs: add IPAMConfig on IPAM (v1.41)
77f6564369 api: docs: document MountPoint fields (v1.25-v1.41)
51ea235ab8 api: docs: remove deprecated RootFS.BaseLayer (API v1.25-v1.41)
3d6b4ae572 Correct type of Mounts in ContainerSummary in docs (v1.25-v1.40)
6e8b9809b7 Correct type of Mounts in ContainerSummary in docs
621a98dac0 api: docs: fix warning about comment indentation (API v1.40-v1.41)
bb9ef98060 api: docs: update docs for /images/{name}/json (API v1.39-v1.41)
88ca5cec4e daemon: fix error-message for minimum allowed kernel-memory limit
3ea996abd7 docs: add missing KernelMemoryTCP to api v1.40 and v1.41
b475bc95cd docs/api: add missing 400 response for POST /containers/{id}/wait
ae07b3cc96 docs/api: update /containers/{id}/wait "condition" parameter (v1.30-v1.41) 19555fa92d [20.10] vendor: github.com/docker/distribution v2.8.1
4e188b8a49 Merge pull request #43426 from thaJeztah/20.10_backport_info_counters_rwmutex 339d7bdd7d Merge pull request #43406 from dims/cherry-pick-thaJeztah-errdefs_reduce_client_deps_alternative 32fe0bbb91 daemon: use RWMutex for stateCounter
1881be2de5 Merge pull request #43360 from Nossnevs/backport-21.x-linux-routeoverlaps-link-only-42598 af05807928 Merge pull request #43356 from awmirantis/20.10-bump-swarmkit-increase-config-size ed8fb00b65 errdefs: move GetHTTPErrorStatusCode to api/server/httpstatus
3bd611d7a5 log error message when receiving an unexpected type error
66a96760b2 Merge pull request #43407 from dims/cherry-pick-remove_containerd_from_client 87a90dc786 (tag: v20.10.14) Merge pull request #43417 from thaJeztah/20.10_update_containerd_binary_1.5.11 7dfe7a1752 [20.10] update containerd binary to 1.5.11
7f375bcff4 Merge pull request from GHSA-2mm7-x5h6-5pvq
cf0abad081 Merge pull request #43416 from thaJeztah/20.10_update_containerd2
af953d2f38 [20.10] vendor: containerd 7cfa023d95d37076d5ab035003d4839f4b6ba791
5f9753ae73 client: remove containerd "platform" dependency
4df345e65d client: remove unused Platform field from configWrapper
dd38613d0c oci: inheritable capability set should be empty
2825bf7123 Only check if route overlaps routes with scope: LINK
f5c56eaca8 [20.10] bump swarmkit for config size increase
906f57ff5b (tag: v20.10.13) Merge pull request #43333 from pete-woods/20.10-backport-43291-schema-download-retry ce3b6d1ae9 distribution: retry downloading schema config on retryable error
c3dec607c3 Merge pull request #43329 from thaJeztah/20.10_backport_update_containerd_binary_1.5.10 3056208812 (tag: v20.10.21) Merge pull request #44358 from thaJeztah/20.10_backport_busybox_w32_img f99cb8297b integration: download busybox-w32 from GitHub Release
24aa4c9c43 Merge pull request #44353 from thaJeztah/20.10_backport_update_containerd_binary 3f9dc25f5c update containerd binary to v1.6.9
753cd92a31 Merge pull request #44326 from thaJeztah/20.10_bump_term_ansiterm
82f583c8af Merge pull request #44339 from crazy-max/20.10_update_buildkit
87ccd38cea vendor: moby/term, Azure/go-ansiterm for golang.org/x/sys/windows compatibility e83e465ae2 [20.10] vendor: github.com/moby/buildkit eeb7b65ab7d651770a5ec52a06ea7c96eb97a249 (v0.8 branch) e3fef9aea9 Merge pull request #44340 from thaJeztah/20.10_backport_skip_tests
9c84417c1b skip TestImagePullStoredfDigestForOtherRepo() on Windows and rootless
93c2c3bc60 Merge pull request #44332 from corhere/backport-20.10/fix-git-windows-environ 5b5b5c6f13 builder: add missing doc comment
05e25f7892 builder: fix running git commands on Windows
2b7f97a974 Merge pull request #44313 from tianon/20.10-distributable
03df974ae9 (tag: v20.10.20) Merge pull request #6 from moby/ghsa-ambiguous-pull-by-digest 3adff51f85 Merge pull request #9 from moby/update_buildkit
d7c33ad827 Merge pull request #8 from moby/20.10_fix_git_file_leak
2f3bf18014 [20.10] vendor moby/buildkit v0.8.3-31-gc0149372
6699afa549 registry: allow "allow-nondistributable-artifacts" for Docker Hub
4b9902bad4 Validate digest in repo for pull by digest
c0d1188c14 builder: make git config isolation opt-in
9f5f3abcee builder: isolate git from local system
10db4c2db7 builder: explicitly set CWD for all git commands
8816c3c2aa builder: modernize TestCheckoutGit
c964641a0d (tag: v20.10.19) Merge pull request #44122 from thaJeztah/20.10_bump_buildkit 3bb99735b6 Merge pull request #44127 from thaJeztah/20.10_backport_image_spec_no_literal 435c40ce15 Merge pull request #44247 from thaJeztah/20.10_bump_go_1.18.7
11bdbf40b9 [20.10] Update to go 1.18.7 to address CVE-2022-2879, CVE-2022-2880, CVE-2022-41715 35eaf7ecc4 Merge pull request #44238 from cpuguy83/20.10_fix_restore_volumerefs
66ddb7f91c Fix live-restore w/ restart policies + volume refs
f219cb5ded Merge pull request #44218 from thaJeztah/20.10_backport_more_robust_rootless c003392582 contrib: make dockerd-rootless-setuptool.sh more robust
53313be0f3 docker-rootless-setuptools.sh: use context after install
4163c55082 Merge pull request #44202 from crazy-max/20.10_backport_api-fix-logo
9c486bd267 swagger: update links to logo
956161115f Merge pull request #44167 from thaJeztah/20.10_backport_update_containerd_console 668ab11a67 Merge pull request #44145 from neersighted/bump_memberlist_20.10
fa17fab895 vendor: github.com/containerd/console v1.0.2
481bee51b5 vendor: github.com/armon/go-metrics v0.4.1
39ba2873e8 vendor: github.com/google/btree v1.1.2
c2755f40cd vendor: github.com/hasicorp/memberlist v0.4.0
cc3aa33f54 Merge pull request #44123 from linux-on-ibm-z/20.10-CI
5ba3208ec7 Dockerfile: Update Dockerfile syntax, switch to bullseye, add missing libseccomp-dev, remove build pack 6d6a236286 [20.10] Update uses of Image platform fields in OCI image-spec
2570784169 [20.10] vendor: github.com/moby/buildkit 3a1eeca59a9263613d996ead67d53a4b7d45723d (v0.8 branch) e42327a6d3 (tag: v20.10.18) Merge pull request #44120 from thaJeztah/20.10_backport_update_tests fcd4df906b Update some tests for supplementary group permissions
bb0197c829 Merge pull request from GHSA-rc4r-wh2q-q6c4
d348775bd5 Merge pull request #44109 from rumpl/20.10-fix-local-context
6a0186b357 Wrap local calls to the content and lease service
b73e9c2c8a Merge pull request #44098 from thaJeztah/20.10_backport_swagger_updates
4855c28780 Merge pull request #44101 from thaJeztah/20.10_backport_bump_golang_1.18.6 3d4616f943 Update to go 1.18.6 to address CVE-2022-27664, CVE-2022-32190
d56101e0d2 Merge pull request #44093 from thaJeztah/20.10_backport_remove_tereshkova
23c7d84b84 docs: api: adjust ContainerWaitResponse error as optional
3e9e79d134 docs: api: document ImageSummary fields (api v1.39-v1.41)
fdd438ae03 api: docs: improve documentation of ContainerConfig type (API v1.30-v1.41) 97014a8db5 namesgenerator: remove Valentina Tereshkova
e44d7f735e AdditionalGids must include effective group ID
b0d57e0ed4 Merge pull request #44067 from thaJeztah/20.10_update_containerd_vendor
9e7662e4a7 [20.10] vendor: update containerd to latest of docker-20.10 branch
f7f1f960ea Merge pull request #44081 from thaJeztah/20.10_backport_tarsplit
7dac25a3a9 vendor: update tar-split to v0.11.2
d346080204 Merge pull request #44041 from thaJeztah/20.10_backport_ontainerd_binary_1.6.8 1c7b0dabc5 Merge pull request #44038 from thaJeztah/20.10_backport_update_runc_1.1.4
8bd86a0699 update containerd binary to v1.6.8
6c8dd6a6f2 update runc to v1.1.4
0bd91f300e Merge pull request #44018 from thaJeztah/20.10_backport_healthcheck_timeout 418c141e64 [20.10 backport] daemon: kill exec process on ctx cancel
62fd7187d0 Merge pull request #43991 from thaJeztah/20.10_seccomp_updates
7d4cc78c02 Merge pull request #43976 from thaJeztah/20.10_backport_bump_golang_1.18
d127287d92 Allow different syscalls from kernels 5.12 -> 5.16
57db169641 seccomp: add support for Landlock syscalls in default policy
7ba8ca042c Update golang to 1.18.5
f2a3c3bcef update golang to 1.18.4
a99c9cd852 update golang to 1.18.3
82939f536b update golang to 1.18.2
ecd1aa081f update golang to 1.18.1
7ba67d05a8 [20.10] vendor: update archive/tar for go 1.18
0bc432241e update golang to 1.18.0
bb95d09f9a staticcheck: ignore "SA1019: strings.Title is deprecated"
32debe0986 Merge pull request #43975 from thaJeztah/20.10_backport_update_golangci_lint a7299ae72c Dockerfile: update golangci-lint v1.44.0
d97fd533cf integration-cli: SA5011: possible nil pointer dereference (staticcheck)
e6aee04a88 client.NewClientWithOpts(): remove redundant type assertion (gosimple)
0523323c28 daemon/logger/awslogs: suppress false positive on hardcoded creds (gosec)
adeb29c64c client/request.go:157:8: SA1019: err.Temporary is deprecated (staticcheck) 50361d91a6 registry: trimV1Address(): simplify trimming trailing slash
ae3a9337dd golangci.yml: do not limit max reported issues
9820255a1c golangci.yml: skip some tests
d223f37300 golangci.yml: update regex for ignoring SA1019
ec3bfba89d graphdriver: temporarily ignore unsafeptr: possible misuse of reflect.SliceHeader f2f387b131 daemon: var-declaration: should omit type bool (revive)
2fb7c9fea7 daemon/config: error strings should not be capitalized
fa6954cb98 reformat "nolint" comments
45fa675a35 if-return: redundant if ...; err != nil check (revive)
9e88f8435a daemon/splunk: ignore G402: TLS MinVersion too low for now
2de90ebbe4 pkg/archive: RebaseArchiveEntries(): ignore G110
14b475d091 daemon/stats: fix notRunningErr / notFoundErr detected as unused (false positive) db7b3f4737 unused: ignore false positives
b6de0ca7c5 G601: Implicit memory aliasing in for loop
e8b838e99f gosec: G601: Implicit memory aliasing in for loop
2ddf6e598a gosimple: S1039: unnecessary use of fmt.Sprintf
fadf8bbdff staticcheck: SA4001: &*x will be simplified to x. It will not copy x
7573e32577 client: S1031: unnecessary nil check around range (gosimple)
e738a57a6d daemon/logger/journald: fix linting errors
34f6b94255 gosec: G404: Use of weak random number generator
a77093b4fe Merge pull request #43911 from thaJeztah/20.10_backport_buildkit_api_docs
5e6d42aa9d Merge pull request #43918 from thaJeztah/20.10_backport_bump_containerd_1.6.7_binary a345492301 Merge pull request #43859 from olljanat/20.10_backport_restore-custom-nat-networks a6d7b61c8b update containerd binary to v1.6.7
b4ba1ee22f update runc binary to v1.1.3
195761c1fa Merge pull request #43889 from thaJeztah/20.10_backport_api_fix_missing_platform da8828c4b3 api: swagger: fix invalid example value (API v1.39-v1.41)
1c0ca366dd Merge pull request #43905 from thaJeztah/20.10_bump_golang_1.17.13
9501d91e19 api: swagger: document BuildCache fields (API v1.39-v1.41)
61fdea902b api: swagger: document BuildCache fields.
c77432c889 [20.10] Update golang to 1.17.13
2833aa1e4b docs: api: add missing "platform" query-arg on create (v1.41)
a8c28260ad api: swagger: add missing "platform" query-arg on create
a70ae13d3b Merge pull request #43876 from thaJeztah/20.10_backport_42655_vfs_storage_driver cfdc075b1c Fix file capabilities droping in Dockerfile
2daa6bb6b3 Windows: Re-create custom NAT networks after restart if missing from HNS
21b91d3fd5 Merge pull request #43824 from AkihiroSuda/libnetwork-20220716
903cd53ce4 vendor: libnetwork 0dde5c895075df6e3630e76f750a447cf63f4789
55cbb2fc57 Merge pull request #43803 from thaJeztah/20.10_update_golang_1.17.12
eccaf6d368 [20.10] update golang to 1.17.12
3949ff121e Merge pull request #43770 from xinfengliu/20.10_backport_update_continuity ff7feeac37 vendor: github.com/containerd/continuity v0.3.0
a89b84221c (tag: v20.10.17) Merge pull request #43701 from thaJeztah/20.10_backport_update_containerd_1.6.6 6f3f2b6d08 update containerd binary to v1.6.6
3fba09221e Merge pull request #43692 from thaJeztah/20.0_backport_bump_containerd_binary_1.6.5 678cc00583 Merge pull request #43589 from thaJeztah/20.10_backport_bump_runc
b3bcb15da8 update containerd binary to v1.6.5
59d0ff35f8 Merge pull request #43686 from dfr/backport-freebsd-mknod
434eecd2cc Merge pull request #43683 from neersighted/update-libnetwork
f55b030fa0 system: unbreak build for darwin
63ab12cd3a Port pkg/system/mknod.go to FreeBSD
081e538fbd vendor: libnetwork f6ccccb1c082a432c2a5814aaedaca56af33d9ea
4159fa6860 Merge pull request #43677 from thaJeztah/20.10_update_golang_1.17.11
8e9d647c01 [20.10] update golang to 1.17.11
90033ab093 Merge pull request #43644 from ameyag/20.10-win-port-conflict
87ead7fd2a vendor: hcsshim a11a2c44e8a4aa9d66314b1d759ef582df5ab5e8
27f8322324 vendor: libnetwork 2dab5620d4462865c6151e573b3e7fa5d3b8458b
506d28dca8 Merge pull request #43612 from thaJeztah/20.10_backport_websocket_streams_docs_touch_ups 829951ec19 docs: api: /containers/{id}/attach/ws: remove unsupported query-args < v1.42 7307a0d583 Merge pull request #43606 from rumpl/20.10_backport_rename-reservation
6cbe73bfc0 Rename Reservation to Reservations in the open API
d9ed3d7e28 update runc binary to v1.1.2
f756502055 (tag: v20.10.16) Merge pull request #43582 from thaJeztah/20.10_bump_golang_1.17.10 a15acb4bd6 [20.10] vendor: golang.org/x/sys v0.0.0-20220412211240-33da011f77ad
5f2e0b79ad [20.10] update golang to 1.17.10
462cd7de50 Merge pull request #43567 from 42wim/fixstats
be7855fdbe vendor: update github.com/containerd/cgroups and github.com/cilium/ebpf
4433bf67ba (tag: v20.10.15) Merge pull request #43561 from thaJeztah/20.10_backport_bump_containerd_binary_1.6.4 414a9e24a7 update containerd binary to v1.6.4
0809f5fafb Merge pull request #43433 from thaJeztah/20.10_backport_update_containerd_runc 47b6a924b6 update containerd binary to v1.6.3
6d7c2b2d26 update containerd binary to v1.6.2
91708bf704 update containerd binary to v1.6.1
53ae17008e Revert "[20.10] update containerd binary to 1.5.11"
961b9a78d5 update runc binary to v1.1.1
97972dac5f update runc binary to v1.1.0
2929771a53 Merge pull request #43499 from thaJeztah/20.10_bump_golang_1.17.9
033a819714 [20.10] update golang to 1.17.9
ecf2eee0f6 Merge pull request #43486 from thaJeztah/20.10_backport_fix_dco_check
a80884126b Jenkinsfile: add workaround for CVE-2022-24765
086a3fa036 Merge pull request #43468 from thaJeztah/20.10_backport_update_go_1.17
09d6fcdfec update to go 1.17.8 to address CVE-2022-24921
5957684b2c Update Go to 1.17.7
55b72c70ba Update Go to 1.17.6
fdf3020bd5 Update Go to 1.17.5
36e164ba80 Update Go to 1.17.4
ecfba8f588 Update Go to 1.17.3
4e14dcc125 Update Go to 1.17.2
c32b5ece31 Update Go to 1.17.1
7096508811 vendor: update archive/tar to match Go 1.17.0
a1150245cc Update to Go 1.17.0, and gofmt with Go 1.17
95cc7115fb hack/vendor.sh: allow go version to be specified with .0
949c33b1c5 vendor: golang.org/x/sys 63515b42dcdf9544f4e6a02fd7632793fde2f72d (for Go 1.17) 8392285876 vendor: golang.org/x/sys d19ff857e887eacb631721f188c7d365c2331456
9ee5abed9c Merge pull request #43470 from thaJeztah/20.10_backport_bump_buildx_0.8.2
4e81bcf380 Makefile: update buildx to v0.8.2
74e699c8d3 Makefile: update buildx version to v0.6.0
bc3cc2e7ac Makefile: install buildx from binary release, instead of building
811795ccd7 Merge pull request #43454 from thaJeztah/20.10_update_distribution
ae7f230408 Merge pull request #43460 from thaJeztah/20.10_backport_docs_fixes
492fac20af api: docs: fix indentation of HostConfig.SecurityOpt (v1.39-v1.41)
3cba2682d8 api: docs: move ContainerWaitResponse to definitions (v1.39-v1.41)
55e71450ae api: docs: move VolumeCreateOptions to definitions (v1.39-v1.41)
c54362cd64 api: docs: move Volume examples inline (v1.39-v1.41)
c60ff9b296 doc: server API Correct ImagesCreate - platform parameter added in 1.32
7a45f7a8cc docs: cleanup swagger API with multiple examples (v1.25-v1.41)
29bb9204bf api: docs: add IPAMConfig on IPAM (v1.41)
77f6564369 api: docs: document MountPoint fields (v1.25-v1.41)
51ea235ab8 api: docs: remove deprecated RootFS.BaseLayer (API v1.25-v1.41)
3d6b4ae572 Correct type of Mounts in ContainerSummary in docs (v1.25-v1.40)
6e8b9809b7 Correct type of Mounts in ContainerSummary in docs
621a98dac0 api: docs: fix warning about comment indentation (API v1.40-v1.41)
bb9ef98060 api: docs: update docs for /images/{name}/json (API v1.39-v1.41)
88ca5cec4e daemon: fix error-message for minimum allowed kernel-memory limit
3ea996abd7 docs: add missing KernelMemoryTCP to api v1.40 and v1.41
b475bc95cd docs/api: add missing 400 response for POST /containers/{id}/wait
ae07b3cc96 docs/api: update /containers/{id}/wait "condition" parameter (v1.30-v1.41) 19555fa92d [20.10] vendor: github.com/docker/distribution v2.8.1
4e188b8a49 Merge pull request #43426 from thaJeztah/20.10_backport_info_counters_rwmutex 339d7bdd7d Merge pull request #43406 from dims/cherry-pick-thaJeztah-errdefs_reduce_client_deps_alternative 32fe0bbb91 daemon: use RWMutex for stateCounter
1881be2de5 Merge pull request #43360 from Nossnevs/backport-21.x-linux-routeoverlaps-link-only-42598 af05807928 Merge pull request #43356 from awmirantis/20.10-bump-swarmkit-increase-config-size ed8fb00b65 errdefs: move GetHTTPErrorStatusCode to api/server/httpstatus
3bd611d7a5 log error message when receiving an unexpected type error
66a96760b2 Merge pull request #43407 from dims/cherry-pick-remove_containerd_from_client 87a90dc786 (tag: v20.10.14) Merge pull request #43417 from thaJeztah/20.10_update_containerd_binary_1.5.11 7dfe7a1752 [20.10] update containerd binary to 1.5.11
7f375bcff4 Merge pull request from GHSA-2mm7-x5h6-5pvq
cf0abad081 Merge pull request #43416 from thaJeztah/20.10_update_containerd2
af953d2f38 [20.10] vendor: containerd 7cfa023d95d37076d5ab035003d4839f4b6ba791
5f9753ae73 client: remove containerd "platform" dependency
4df345e65d client: remove unused Platform field from configWrapper
dd38613d0c oci: inheritable capability set should be empty
2825bf7123 Only check if route overlaps routes with scope: LINK
f5c56eaca8 [20.10] bump swarmkit for config size increase
906f57ff5b (tag: v20.10.13) Merge pull request #43333 from pete-woods/20.10-backport-43291-schema-download-retry ce3b6d1ae9 distribution: retry downloading schema config on retryable error
c3dec607c3 Merge pull request #43329 from thaJeztah/20.10_backport_update_containerd_binary_1.5.10 180f3b9cc7 update containerd binary to v1.5.10
409d7ac7f2 Merge pull request #43326 from thaJeztah/20.10_bump_go_1.16.15
0fa0d70489 [20.10] update to go 1.16.15 to address CVE-2022-24921
c4f6167be1 Merge pull request #43259 from thaJeztah/20.10_backport_fix_lock
9a57c5c4c9 Merge pull request #43260 from thaJeztah/20.10_backport_docs_fixes
4679ffd01c docs: remove HostConfig.LxcConf field from API docs
fbbe1fcfd8 api: remove HostConfig.LxcConf field
a5a697143d docs: fixing /exec/{id}/resize response code in API documentation
42b13c09a6 Added error codes for exec resize in API docs
aa69e8ed3f Fixed exec resize success code in API docs
ca5ba4890e Fix typo on the v1.41 changelog
db214206e5 vendor: bump etcd v3.3.27
df6a536193 vendor: github.com/coreos/etcd v3.3.25
3d5fb9425e Merge pull request #43167 from thaJeztah/20.10_backport_jenkinsfile_remove_rs1 1eef444005 Merge pull request #43171 from thaJeztah/20.10_backport_api_docs_fixes
7f44d606f9 Merge pull request #43166 from thaJeztah/20.10_backport_fix_update_sync
c9e1608dd4 Merge pull request #43243 from thaJeztah/20.10_update_go_1.16.14
9502dec32f [20.10] Update Go to 1.16.14
879dd468dc Merge pull request #43215 from thaJeztah/20.10_backport_fix_overlay_fuse_permissions 9edb93886a Merge pull request #43151 from thaJeztah/20.10_backport_containerd_15
878b9de935 daemon/graphdriver/fuse-overlayfs: Init(): fix directory permissions (staticcheck) 606c29418a Merge pull request #43177 from thaJeztah/20.10_update_distribution
d1b3497bfa [20.10] vendor: github.com/docker/distribution v2.8.0
dd61d8dc4b Merge pull request #43165 from thaJeztah/20.10_backport_logs_fixes
f9344b45fe api/swagger: move DistributionInspect to definitions
13cb9d9723 api/swagger: rename PluginPrivilegeItem to PluginPrivilege
7f9760e10c api/swagger: fix up event-types and move to definitions
e6739a2884 api/swagger: move DistributionInspect to definitions
d445d24804 api/swagger: rename PluginPrivilegeItem to PluginPrivilege
5e38ae84b2 api/swagger: fix up event-types and move to definitions
012fdff916 Fix swagger docs to match the opencontainers image-spec
13cbf7fbb7 Extract PluginPrivilegeItem as explicit type definition
8fbcf0611b Use explicit object names for improved swagger based code generation
b8bee972c4 Fix ContainerSummary swagger docs
7092a6091c Add "changes" query parameter for /image/create to swagger docs
adf1e470a1 Add RestartPolicy "no" to swagger docs
b4b469eac2 Fix swagger docs to match the opencontainers image-spec
2c38a2a635 Extract PluginPrivilegeItem as explicit type definition
621bfddd6e Use explicit object names for improved swagger based code generation
8a5240a8aa Fix ContainerSummary swagger docs
751cf68e36 Add "changes" query parameter for /image/create to swagger docs
a961b76aef Add RestartPolicy "no" to swagger docs
ad21bcd94e Jenkinsfile: remove Windows RS1 as it reached end of support
b2684c1857 Fix for lack of syncromization in daemon/update.go
8268f70ebb daemon/logger: replace flaky TestFollowLogsHandleDecodeErr
78d0b936b8 daemon/logger: refactor followLogs to write more unit tests
39519221c2 daemon/logger: test followLogs' handleDecodeErr case
ada1b01de1 daemon/logger: read the length header correctly
829f071228 update containerd binary to v1.5.9
3e5eea4192 update runc binary to v1.0.3
bd42e17284 update containerd binary to v1.5.8
3fd0b8d6eb Update containerd binary to v1.5.7
3700adb70a Update containerd binary to v1.5.6
0f37f2989b Dockerfile: update gotestsum to v1.7.0
2716336abd Dockerfile: use "go install" to install utilities
b35a1707e3 Dockerfile: use version for some utilities instead of commit-sha
2a18825cdf Dockerfile: remove GOPROXY override (was for go < 1.14)
0f925d5d3d remove deprecated "nokmem" build-tag for runc
fb45fe614d info: remove "expected" check for tini version
fd32c70031 update containerd binary to v1.5.5
302114634c update containerd binary v1.4.8
1cd13dcb6c Update containerd binary to v1.5.3
5f09d5c76a update containerd binary to v1.5.2
23f23c99ed update containerd binary to v1.5.1
f036a34c5b update containerd binary to v1.5.0
1dd37750a6 Revert "[20.10] update containerd binary to v1.4.5"
b097d29705 Revert "[20.10] update containerd binary to v1.4.6"
de656f9da4 Revert "[20.10] update containerd binary to v1.4.7"
9e36f77577 Revert "[20.10] update containerd binary v1.4.8"
eb2acf2fb3 Revert "[20.10] update containerd binary to v1.4.9"
4e838e50ea Revert "[20.10] update containerd binary to v1.4.10"
79fd9c1541 Revert "[20.10] update containerd binary to v1.4.11"
13de46fd4b Revert "[20.10] update containerd binary to v1.4.12"
22ff2ed34b Merge pull request #43147 from PettitWesley/backport-fluentd-fix
b106f7dfd0 Merge pull request #43153 from thaJeztah/20.10_bump_go_1.16.13
aa92e697cb [20.10] update Go to 1.16.13
f9df098e76 fluentd: Turn ForceStopAsyncSend true when async connect is used
81fc02b7e1 vendor: github.com/fluent/fluent-logger-golang v1.8.0
d6f3add5c6 vendor: github.com/fluent/fluent-logger-golang 1.6.1
b1fc0c84de Merge pull request #43084 from AkihiroSuda/cherrypick-42736
660b9962e4 daemon.WithCommonOptions() fix detection of user-namespaces

---
 recipes-containers/docker/docker-ce_git.bb    |   30 +-
 recipes-containers/docker/docker-moby_git.bb  |   27 +-
 recipes-containers/docker/docker.inc          |    5 +-
 .../files/0001-revert-go-1.8-update.patch     | 1218 +++++++++++++++++
 4 files changed, 1253 insertions(+), 27 deletions(-)
 create mode 100644 recipes-containers/docker/files/0001-revert-go-1.8-update.patch
recipes-containers/docker/docker-ce_git.bb +17 -13
index 12bc73c..1bc7ce6 100644
@@ -31,19 +31,23 @@ DESCRIPTION = "Linux container runtime \
 # so we get that tag, and make it our SRCREVS:
 #
 
-SRCREV_docker = "906f57ff5b7100013dfef066ea8fe367706468df"
-SRCREV_libnetwork = "64b7a4574d1426139437d20e81c0b6d391130ec8"
-SRCREV_cli = "62eae52c2a76f4c1dcf79dfc7b5ea3bf5eebab8b"
+SRCREV_docker = "3056208812eb5e792fa99736c9167d1e10f4ab49"
+SRCREV_libnetwork = "dcdf8f176d1e13ad719e913e796fb698d846de98"
+SRCREV_cli = "b40c2f6b5deeb11ac6c485c940865ee40664f0f0"
 SRCREV_FORMAT = "docker_libnetwork"
 SRC_URI = "\
-	git://github.com/docker/docker.git;branch=20.10;name=docker;protocol=https \
-	git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \
-	git://github.com/docker/cli;branch=20.10;name=cli;destsuffix=git/cli;protocol=https \
-	file://0001-libnetwork-use-GO-instead-of-go.patch \
-	file://docker.init \
-        file://0001-dynbinary-use-go-cross-compiler.patch \
-        file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \
-	"
+    git://github.com/docker/docker.git;branch=20.10;name=docker;protocol=https \
+    git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \
+    git://github.com/docker/cli;branch=20.10;name=cli;destsuffix=git/cli;protocol=https \
+    file://0001-libnetwork-use-GO-instead-of-go.patch \
+    file://docker.init \
+    file://0001-dynbinary-use-go-cross-compiler.patch \
+    file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \
+    file://0001-revert-go-1.8-update.patch;patchdir=src/import \
+    "
+
+# docker git repo is a link to moby repo on github. do_compile referres to SRCREV_moby.
+SRCREV_moby = "${SRCREV_docker}"
 
 require docker.inc
 
@@ -51,7 +55,7 @@ require docker.inc
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"
 
-DOCKER_VERSION = "20.10.12-ce"
+DOCKER_VERSION = "20.10.21-ce"
 PV = "${DOCKER_VERSION}+git${SRCREV_docker}"
 
-CVE_PRODUCT = "docker"
+CVE_PRODUCT = "docker mobyproject:moby"
recipes-containers/docker/docker-moby_git.bb +14 -13
index 0a0ffd6..377bf07 100644
@@ -34,19 +34,20 @@ DESCRIPTION = "Linux container runtime \
 #   - The common components of this recipe and docker-ce do need to be moved
 #     to a docker.inc recipe
 
-SRCREV_moby = "906f57ff5b7100013dfef066ea8fe367706468df"
-SRCREV_libnetwork = "64b7a4574d1426139437d20e81c0b6d391130ec8"
-SRCREV_cli = "a224086349269551becacce16e5842ceeb2a98d6"
+SRCREV_moby = "3056208812eb5e792fa99736c9167d1e10f4ab49"
+SRCREV_libnetwork = "dcdf8f176d1e13ad719e913e796fb698d846de98"
+SRCREV_cli = "b40c2f6b5deeb11ac6c485c940865ee40664f0f0"
 SRCREV_FORMAT = "moby_libnetwork"
 SRC_URI = "\
-	git://github.com/moby/moby.git;branch=20.10;name=moby;protocol=https \
-	git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \
-	git://github.com/docker/cli;branch=20.10;name=cli;destsuffix=git/cli;protocol=https \
-	file://docker.init \
-	file://0001-libnetwork-use-GO-instead-of-go.patch \
-        file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \
-        file://0001-dynbinary-use-go-cross-compiler.patch \
-	"
+    git://github.com/moby/moby.git;branch=20.10;name=moby;protocol=https \
+    git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \
+    git://github.com/docker/cli;branch=20.10;name=cli;destsuffix=git/cli;protocol=https \
+    file://docker.init \
+    file://0001-libnetwork-use-GO-instead-of-go.patch \
+    file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \
+    file://0001-dynbinary-use-go-cross-compiler.patch \
+    file://0001-revert-go-1.8-update.patch;patchdir=src/import \
+    "
 
 require docker.inc
 
@@ -54,7 +55,7 @@ require docker.inc
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"
 
-DOCKER_VERSION = "20.10.12"
+DOCKER_VERSION = "20.10.21"
 PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
 
-CVE_PRODUCT = "docker"
+CVE_PRODUCT = "docker mobyproject:moby"
recipes-containers/docker/docker.inc +4 -1
index 40a3642..0439467 100644
@@ -41,7 +41,10 @@ RPROVIDES:${PN}-dev += "docker-dev"
 RPROVIDES:${PN}-contrip += "docker-dev"
 
 inherit pkgconfig
-PACKAGECONFIG ??= "docker-init"
+PACKAGECONFIG ??= "\
+    docker-init \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \
+"
 PACKAGECONFIG[seccomp] = "seccomp,,libseccomp"
 PACKAGECONFIG[docker-init] = ",,,docker-init"
 PACKAGECONFIG[transient-config] = "transient-config"
recipes-containers/docker/files/0001-revert-go-1.8-update.patch new file +1218 -0

1,218 lines not on this page · raw message

Signature · 1 line
2.38.1
#4 lore raw
In reply to Adrian Freihofer
Quoted 6 lines · Adrian Freihofer

Bring docker on the kirkstone branch to the same commits as they are on master-next. Just let me know if you think this is not the right way. I can easily maintain this on my own layer. But there are some bugs and CVEs in Docker which make this update kind of mandatory for the LTS branch as well.

I need to have a closer look at the changelogs to confirm just bug fixes in the commits. I got bogged down in yocto summit things, which is why master-next has cooked longer than it normally does.

I'm completing more updates now, so I'll clear the existing master next shortly, before staging more.

Quoted 4 lines

Some findings:
* runc-docker RUNC_VERSION is on 1.1.2 on master-next. I set it to 1.1.4 bcause this looks correct to me.

I'm not sure where you are seeing this. I see one shortlog that is wrong, but the versions are 1.1.4 in both of the runc recipes in master-next as it sits on the server and locally.

https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next&id=6dba10357ce8906c95b81d3256e945c617999aa8

Quoted 2 lines

* docker: SRCREV_moby is used by do_compile. For docker-ce the variable is undefined on master-next. Here it is initialized to SRCREV_docker.

Do you mean in the .inc ? That's been a bug for a while, I switched to a generic value on master-next:

https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next&id=d3acb1a378e644fe2784a8357390b19695640f78

Quoted 3 lines

* docker: Upstream updated to go 1.8 which does no longer compile with Yocto's go 1.7. There is a patch to revert the go update. It's working but not sure how long this way will work.

So only a problem on the older branch. We could carry a change for that, but it needs
to be in a separate commit.

That last comment leads me to a general comment. The series is fine in spirit, but
the changes should be kept separate and should be cherry-picks whenever possible. i.e. the updates to the 3rd digit versions need to be separate, and be cherry picks from master. That means they include the git hash they are cherry picked from, as well as the original sign-offs.

That obviously also means they cannot run ahead of the master version updates (unless I bump a major version in master). As I mentioned above, I'm going back through minor updates now, and will stack them on master-next once the current batch completes some final testing.

Things that need to be done to adapt to cherry-picked commits to the older branches, need to be separate commits.

Bruce

Quoted 25 lines

* Testing: docker-ce running on a arm64 device can run a Debian container. We will do more tests in the future. But that's what I did so far.

Adrian Freihofer (3):
runc-docker: update to 1.1.4-tip
containerd-opencontainers: update to 1.6.9
docker: update from 20.10.12 to 20.10.21

 .../containerd-opencontainers_git.bb          |    6 +-
 recipes-containers/docker/docker-ce_git.bb    |   30 +-
 recipes-containers/docker/docker-moby_git.bb  |   27 +-
 recipes-containers/docker/docker.inc          |    5 +-
 .../files/0001-revert-go-1.8-update.patch     | 1218 +++++++++++++++++
 ...efine-ActKillThread-equal-to-ActKill.patch |   90 --
 recipes-containers/runc/runc-docker_git.bb    |    4 +-
 .../runc/runc-opencontainers_git.bb           |    6 +-
 8 files changed, 1261 insertions(+), 125 deletions(-)
 create mode 100644 recipes-containers/docker/files/0001-revert-go-1.8-update.patch
 delete mode 100644 recipes-containers/runc/files/0002-Define-ActKillThread-equal-to-ActKill.patch

--
2.38.1

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7733): https://lists.yoctoproject.org/g/meta-virtualization/message/7733
Mute This Topic: https://lists.yoctoproject.org/mt/95455895/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

#5 lore raw
Quoted 28 lines · Bruce Ashfield
Quoted 9 lines · Adrian Freihofer

Bring docker on the kirkstone branch to the same commits as they are on
master-next. Just let me know if you think this is not the right way. I
can easily maintain this on my own layer. But there are some bugs and
CVEs in Docker which make this update kind of mandatory for the LTS branch as well.

I need to have a closer look at the changelogs to confirm just bug fixes
in the commits. I got bogged down in yocto summit things, which is why
master-next has cooked longer than it normally does.

I'm completing more updates now, so I'll clear the existing master next
shortly, before staging more.

Quoted 5 lines

Some findings:
* runc-docker RUNC_VERSION is on 1.1.2 on master-next. I set it to 1.1.4
  bcause this looks correct to me.

Quoted 7 lines

I'm not sure where you are seeing this. I see one shortlog that is wrong, but
the versions are 1.1.4 in both of the runc recipes in master-next as it sits
on the server and locally.

https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next&id=6dba10357ce8906c95b81d3256e945c617999aa8

My comment is a bit misleading because I picked just one of the two commits which results in a broken state.
The final result is correct. But commit "runc-docker: update to 1.1.4- tip" updates RUNC_VERSION of runc-opencontainers bb and the commit "runc: update to 1.1.4-tip" updates the RUNC_VERSION of runc-docker bb.

Quoted 11 lines
Quoted 5 lines

* docker: SRCREV_moby is used by do_compile. For docker-ce the variable
  is undefined on master-next. Here it is initialized to SRCREV_docker.

Do you mean in the .inc ? That's been a bug for a while, I switched to a generic
value on master-next:

https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next&id=d3acb1a378e644fe2784a8357390b19695640f78

The DOCKER_COMMIT variable looks good now.

Quoted 30 lines
Quoted 6 lines

* docker: Upstream updated to go 1.8 which does no longer compile with
  Yocto's go 1.7. There is a patch to revert the go update. It's working
  but not sure how long this way will work.

So only a problem on the older branch. We could carry a change for that, but it needs
to be in a separate commit.

That last comment leads me to a general comment. The series is fine in
spirit, but
the changes should be kept separate and should be cherry-picks whenever
possible. i.e. the updates to the 3rd digit versions need to be separate, and be
cherry picks from master. That means they include the git hash they are cherry
picked from, as well as the original sign-offs.

That obviously also means they cannot run ahead of the master version updates
(unless I bump a major version in master). As I mentioned above, I'm going back
through minor updates now, and will stack them on master-next once the current
batch completes some final testing.

Quoted 5 lines

Things that need to be done to adapt to cherry-picked commits to the older
branches, need to be separate commits.

Bruce

Thank you for the explanation. I will send you a V2 with the same spirit but completely different commits. It's almost ready.

Regards,
Adrian

Quoted 47 lines
Quoted 30 lines

* Testing: docker-ce running on a arm64 device can run a Debian container. We will do more tests in the future. But that's what I did
  so far.

Adrian Freihofer (3):
  runc-docker: update to 1.1.4-tip
  containerd-opencontainers: update to 1.6.9
  docker: update from 20.10.12 to 20.10.21

 .../containerd-opencontainers_git.bb          |    6 +- recipes-containers/docker/docker-ce_git.bb    |   30 +- recipes-containers/docker/docker-moby_git.bb  |   27 +- recipes-containers/docker/docker.inc          |    5 +- .../files/0001-revert-go-1.8-update.patch     | 1218
+++++++++++++++++
 ...efine-ActKillThread-equal-to-ActKill.patch |   90 -- recipes-containers/runc/runc-docker_git.bb    |    4 +- .../runc/runc-opencontainers_git.bb           |    6 +-

 8 files changed, 1261 insertions(+), 125 deletions(-)

 create mode 100644 recipes-containers/docker/files/0001-revert-go- 1.8-update.patch
 delete mode 100644 recipes-containers/runc/files/0002-Define- ActKillThread-equal-to-ActKill.patch

--
2.38.1

Quoted 11 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#7733):
https://lists.yoctoproject.org/g/meta-virtualization/message/7733
Mute This Topic: https://lists.yoctoproject.org/mt/95455895/1050810
Group Owner: [email protected] Unsubscribe:
https://lists.yoctoproject.org/g/meta-virtualization/unsub [
[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II