Skip to contentSkip to conversation

docker: update from 24.0.2 to 24.0.5

PATCH In review [email protected] 4 participants 11 messages Aug 2, 2023 – Sep 21, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docker: update from 24.0.2 to 24.0.5

From: Mikko Rapeli <[email protected]>

go 1.20.6 from poky is not compatible with docker 24.0.2 and network stack inside container is failing with "invalid Host header" error, see for example https://github.com/moby/moby/issues/45935

24.0.5 contains the fixes for go and also other bug fixes. Suggested by Javier Tia <[email protected]>.

Changes listed in
https://docs.docker.com/engine/release-notes/24.0/ are:

24.0.5

2023-07-24

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.5 milestone
    moby/moby, 24.0.5 milestone

Bug fixes and enhancements

The Go client now avoids using UNIX socket paths in the HTTP Host:
header, in order to be compatible with changes introduced in go1.20.6. moby/moby#45962, moby/moby#45990
containerd storage backend: Fix Variant not being included in docker
image inspect and GET /images/{name}/json. moby/moby#46025
containerd storage backend: Prevent potential garbage collection of
content during image export. moby/moby#46021
containerd storage backend: Prevent duplicate digest entries in
RepoDigests. moby/moby#46014
containerd storage backend: Fix operations taking place against the
incorrect tag when working with an image referenced by tag and digest. moby/moby#46013
containerd storage backend: Fix a panic caused by EXPOSE when
building containers with the legacy builder. moby/moby#45921
Fix a regression causing unintuitive errors to be returned when
attempting to create an overlay network on a non-Swarm node. moby/moby#45974
Properly report errors parsing volume specifications from the
command line. docker/cli#4423
Fix a panic caused when auths: null is found in the CLI config file.
docker/cli#4450

Packaging updates

Use init scripts as provided by in moby/moby contrib/init.
docker/docker-ce-packaging#914, docker/docker-ce-packaging#926
Drop Upstart from contrib/init. moby/moby#46044 Upgrade Go to go1.20.6. docker/cli#4428, moby/moby#45970,
docker/docker-ce-packaging#921
Upgrade Compose to v2.20.2. docker/docker-ce-packaging#924 Upgrade buildx to v0.11.2. docker/docker-ce-packaging#922

24.0.4

2023-07-07

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.4 milestone
    moby/moby, 24.0.4 milestone

Bug fixes and enhancements

Fix a regression introduced during 24.0.3 that causes a panic during
live-restore of containers with bind mounts. moby/moby#45903

24.0.3

2023-07-06

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.3 milestone
    moby/moby, 24.0.3 milestone

Bug fixes and enhancements

containerd image store: Fix an issue where multi-platform images
that did not include a manifest for the default platform could not be interacted with. moby/moby#45849
containerd image store: Fix specious attempts to cache FROM scratch
in container builds. moby/moby#45822
containerd image store: Fix docker cp with snapshotters that cannot
mount the same content multiple times. moby/moby#45780, moby/moby#45786
containerd image store: Fix builds with type=image not being
correctly unpacked/stored. moby/moby#45692
containerd image store: Fix incorrectly attempting to unpack
pseudo-images (including attestations) in docker load. moby/moby#45688
containerd image store: Correctly set the user agent, and include
additional information like the snapshotter when interacting with registries. moby/moby#45671, moby/moby#45684
containerd image store: Fix a failure to unpack already-pulled
content after switching between snapshotters. moby/moby#45678
containerd image store: Fix images that have been re-tagged or with
all tags removed being pruned while still in use. moby/moby#45857
Fix a Swarm CSI issue where the Topology field was not propagated
into NodeCSIInfo. moby/moby#45810
Fix failures to add new Swarm managers caused by a very large raft
log. moby/moby#45703, moby/swarmkit#3122, moby/swarmkit#3128
name_to_handle_at(2) is now always allowed in the default seccomp
profile. moby/moby#45833
Fix an issue that prevented encrypted Swarm overlay networks from
working on ports other than the default (4789). moby/moby#45637
Fix a failure to restore mount reference-counts during live-restore.
moby/moby#45824
Fix various networking-related failures during live-restore.
moby/moby#45658, moby/moby#45659
Fix running containers restoring with a zero (successful) exit
status when the daemon is unexpectedly terminated. moby/moby#45801
Fix a potential panic while executing healthcheck probes.
moby/moby#45798
Fix a panic caused by a race condition in container exec start.
moby/moby#45794
Fix an exception caused by attaching a terminal to an exec with a
non-existent command. moby/moby#45643
Fix host-gateway with BuildKit by passing the IP as a label (also
requires docker/buildx#1894). moby/moby#45790
Fix an issue where POST /containers/{id}/stop would forcefully
terminate the container when the request was canceled, instead of waiting until the specified timeout for a ‘graceful’ stop. moby/moby#45774
Fix an issue where docker cp -a from the root (/) directory would
fail. moby/moby#45748
Improve compatibility with non-runc container runtimes by more
correctly setting resource constraint parameters in the OCI config. moby/moby#45746
Fix an issue caused by overlapping subuid/subgid ranges in certain
configurations (e.g. LDAP) in rootless mode. moby/moby#45747, rootless-containers/rootlesskit#369
Greatly reduce CPU and memory usage while populating the Debug
section of GET /info. moby/moby#45856
Fix an issue where debug information was not correctly printed
during docker info when only the client is in debug mode. docker/cli#4393
Fix issues related to hung connections when connecting to hosts over
a SSH connection. docker/cli#4395

Packaging updates

    Upgrade Go to go1.20.5. moby/moby#45745, docker/cli#4351,

docker/docker-ce-packaging#904
Upgrade Compose to v2.19.1. docker/docker-ce-packaging#916 Upgrade buildx to v0.11.1. docker/docker-ce-packaging#918

---
 recipes-containers/docker/docker-moby_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-moby_git.bb +3 -3
index 2fc11d0..de20aa6 100644
@@ -44,9 +44,9 @@ DESCRIPTION = "Linux container runtime \
 # so we get that tag, and make it our SRCREVS:
 #
 
-SRCREV_moby = "d7aa1e14e521af24c0aca800a837866f514f46f7"
+SRCREV_moby = "a61e2b4c9c5f7c241aeb37f389b4444aee26bea4"
 SRCREV_libnetwork = "3f0048413d95802b9c6c836eba06bfc54f9dbd03"
-SRCREV_cli = "0823df7daa197bba96f2f2a85b9cbe156df78d43"
+SRCREV_cli = "ced099660009713e0e845eeb754e6050dbaa45d0"
 SRCREV_FORMAT = "moby_libnetwork"
 SRC_URI = "\
 	git://github.com/moby/moby.git;branch=24.0;name=moby;protocol=https \
@@ -66,7 +66,7 @@ require docker.inc
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"
 
-DOCKER_VERSION = "24.0.2"
+DOCKER_VERSION = "24.0.5"
 PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
 
 CVE_PRODUCT = "docker mobyproject:moby"
Signature · 1 line
2.34.1
#1 lore raw

Thanks for the change, I'll double check my pending set of component updates against this.

I have a full set of updates under test, but have been out of the office the last week, so they are a bit delayed in making it to master-next.

Bruce

Quoted 194 lines · Mikko Rapeli

From: Mikko Rapeli <[email protected]>

go 1.20.6 from poky is not compatible with docker 24.0.2 and network stack inside container is failing with "invalid Host header" error, see for example https://github.com/moby/moby/issues/45935

24.0.5 contains the fixes for go and also other bug fixes. Suggested by Javier Tia <[email protected]>.

Changes listed in
https://docs.docker.com/engine/release-notes/24.0/ are:

24.0.5

2023-07-24

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.5 milestone
    moby/moby, 24.0.5 milestone

Bug fixes and enhancements

The Go client now avoids using UNIX socket paths in the HTTP Host:
header, in order to be compatible with changes introduced in go1.20.6. moby/moby#45962, moby/moby#45990
containerd storage backend: Fix Variant not being included in docker
image inspect and GET /images/{name}/json. moby/moby#46025
containerd storage backend: Prevent potential garbage collection of
content during image export. moby/moby#46021
containerd storage backend: Prevent duplicate digest entries in
RepoDigests. moby/moby#46014
containerd storage backend: Fix operations taking place against the
incorrect tag when working with an image referenced by tag and digest. moby/moby#46013
containerd storage backend: Fix a panic caused by EXPOSE when
building containers with the legacy builder. moby/moby#45921
Fix a regression causing unintuitive errors to be returned when
attempting to create an overlay network on a non-Swarm node. moby/moby#45974
Properly report errors parsing volume specifications from the
command line. docker/cli#4423
Fix a panic caused when auths: null is found in the CLI config file.
docker/cli#4450

Packaging updates

Use init scripts as provided by in moby/moby contrib/init.
docker/docker-ce-packaging#914, docker/docker-ce-packaging#926
Drop Upstart from contrib/init. moby/moby#46044 Upgrade Go to go1.20.6. docker/cli#4428, moby/moby#45970,
docker/docker-ce-packaging#921
Upgrade Compose to v2.20.2. docker/docker-ce-packaging#924 Upgrade buildx to v0.11.2. docker/docker-ce-packaging#922

24.0.4

2023-07-07

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.4 milestone
    moby/moby, 24.0.4 milestone

Bug fixes and enhancements

Fix a regression introduced during 24.0.3 that causes a panic during
live-restore of containers with bind mounts. moby/moby#45903

24.0.3

2023-07-06

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.3 milestone
    moby/moby, 24.0.3 milestone

Bug fixes and enhancements

containerd image store: Fix an issue where multi-platform images
that did not include a manifest for the default platform could not be interacted with. moby/moby#45849
containerd image store: Fix specious attempts to cache FROM scratch
in container builds. moby/moby#45822
containerd image store: Fix docker cp with snapshotters that cannot
mount the same content multiple times. moby/moby#45780, moby/moby#45786
containerd image store: Fix builds with type=image not being
correctly unpacked/stored. moby/moby#45692
containerd image store: Fix incorrectly attempting to unpack
pseudo-images (including attestations) in docker load. moby/moby#45688
containerd image store: Correctly set the user agent, and include
additional information like the snapshotter when interacting with registries. moby/moby#45671, moby/moby#45684
containerd image store: Fix a failure to unpack already-pulled
content after switching between snapshotters. moby/moby#45678
containerd image store: Fix images that have been re-tagged or with
all tags removed being pruned while still in use. moby/moby#45857
Fix a Swarm CSI issue where the Topology field was not propagated
into NodeCSIInfo. moby/moby#45810
Fix failures to add new Swarm managers caused by a very large raft
log. moby/moby#45703, moby/swarmkit#3122, moby/swarmkit#3128
name_to_handle_at(2) is now always allowed in the default seccomp
profile. moby/moby#45833
Fix an issue that prevented encrypted Swarm overlay networks from
working on ports other than the default (4789). moby/moby#45637
Fix a failure to restore mount reference-counts during live-restore.
moby/moby#45824
Fix various networking-related failures during live-restore.
moby/moby#45658, moby/moby#45659
Fix running containers restoring with a zero (successful) exit
status when the daemon is unexpectedly terminated. moby/moby#45801
Fix a potential panic while executing healthcheck probes.
moby/moby#45798
Fix a panic caused by a race condition in container exec start.
moby/moby#45794
Fix an exception caused by attaching a terminal to an exec with a
non-existent command. moby/moby#45643
Fix host-gateway with BuildKit by passing the IP as a label (also
requires docker/buildx#1894). moby/moby#45790
Fix an issue where POST /containers/{id}/stop would forcefully
terminate the container when the request was canceled, instead of waiting until the specified timeout for a ‘graceful’ stop. moby/moby#45774
Fix an issue where docker cp -a from the root (/) directory would
fail. moby/moby#45748
Improve compatibility with non-runc container runtimes by more
correctly setting resource constraint parameters in the OCI config. moby/moby#45746
Fix an issue caused by overlapping subuid/subgid ranges in certain
configurations (e.g. LDAP) in rootless mode. moby/moby#45747, rootless-containers/rootlesskit#369
Greatly reduce CPU and memory usage while populating the Debug
section of GET /info. moby/moby#45856
Fix an issue where debug information was not correctly printed
during docker info when only the client is in debug mode. docker/cli#4393
Fix issues related to hung connections when connecting to hosts over
a SSH connection. docker/cli#4395

Packaging updates

    Upgrade Go to go1.20.5. moby/moby#45745, docker/cli#4351,

docker/docker-ce-packaging#904
Upgrade Compose to v2.19.1. docker/docker-ce-packaging#916 Upgrade buildx to v0.11.1. docker/docker-ce-packaging#918

---
 recipes-containers/docker/docker-moby_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-moby_git.bb +3 -4
index 2fc11d0..de20aa6 100644
@@ -44,9 +44,9 @@ DESCRIPTION = "Linux container runtime \
 # so we get that tag, and make it our SRCREVS:
 #
 
-SRCREV_moby = "d7aa1e14e521af24c0aca800a837866f514f46f7"
+SRCREV_moby = "a61e2b4c9c5f7c241aeb37f389b4444aee26bea4"
 SRCREV_libnetwork = "3f0048413d95802b9c6c836eba06bfc54f9dbd03"
-SRCREV_cli = "0823df7daa197bba96f2f2a85b9cbe156df78d43"
+SRCREV_cli = "ced099660009713e0e845eeb754e6050dbaa45d0"
 SRCREV_FORMAT = "moby_libnetwork"
 SRC_URI = "\
        git://github.com/moby/moby.git;branch=24.0;name=moby;protocol=https \
@@ -66,7 +66,7 @@ require docker.inc
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"
 
-DOCKER_VERSION = "24.0.2"
+DOCKER_VERSION = "24.0.5"
 PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
 
 CVE_PRODUCT = "docker mobyproject:moby"
--

2.34.1

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

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#2 lore raw

Hi, would be nice to get this or similar change applied to master to get docker container network connections working again.

FWIW, kirkstone branch suffers from same problem but docker and go versions are different. Point release update could fix the issue there too.

Cheers,

-Mikko

Quoted 210 lines · Bruce Ashfield

Thanks for the change, I'll double check my pending set of component updates against this.

I have a full set of updates under test, but have been out of the office the last week, so they are a bit delayed in making it to master-next.

Bruce

Quoted 194 lines · Mikko Rapeli

From: Mikko Rapeli <[email protected]>

go 1.20.6 from poky is not compatible with docker 24.0.2 and network stack inside container is failing with "invalid Host header" error, see for example https://github.com/moby/moby/issues/45935

24.0.5 contains the fixes for go and also other bug fixes. Suggested by Javier Tia <[email protected]>.

Changes listed in
https://docs.docker.com/engine/release-notes/24.0/ are:

24.0.5

2023-07-24

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.5 milestone
    moby/moby, 24.0.5 milestone

Bug fixes and enhancements

The Go client now avoids using UNIX socket paths in the HTTP Host:
header, in order to be compatible with changes introduced in go1.20.6. moby/moby#45962, moby/moby#45990
containerd storage backend: Fix Variant not being included in docker
image inspect and GET /images/{name}/json. moby/moby#46025
containerd storage backend: Prevent potential garbage collection of
content during image export. moby/moby#46021
containerd storage backend: Prevent duplicate digest entries in
RepoDigests. moby/moby#46014
containerd storage backend: Fix operations taking place against the
incorrect tag when working with an image referenced by tag and digest. moby/moby#46013
containerd storage backend: Fix a panic caused by EXPOSE when
building containers with the legacy builder. moby/moby#45921
Fix a regression causing unintuitive errors to be returned when
attempting to create an overlay network on a non-Swarm node. moby/moby#45974
Properly report errors parsing volume specifications from the
command line. docker/cli#4423
Fix a panic caused when auths: null is found in the CLI config file.
docker/cli#4450

Packaging updates

Use init scripts as provided by in moby/moby contrib/init.
docker/docker-ce-packaging#914, docker/docker-ce-packaging#926
Drop Upstart from contrib/init. moby/moby#46044 Upgrade Go to go1.20.6. docker/cli#4428, moby/moby#45970,
docker/docker-ce-packaging#921
Upgrade Compose to v2.20.2. docker/docker-ce-packaging#924 Upgrade buildx to v0.11.2. docker/docker-ce-packaging#922

24.0.4

2023-07-07

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.4 milestone
    moby/moby, 24.0.4 milestone

Bug fixes and enhancements

Fix a regression introduced during 24.0.3 that causes a panic during
live-restore of containers with bind mounts. moby/moby#45903

24.0.3

2023-07-06

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.3 milestone
    moby/moby, 24.0.3 milestone

Bug fixes and enhancements

containerd image store: Fix an issue where multi-platform images
that did not include a manifest for the default platform could not be interacted with. moby/moby#45849
containerd image store: Fix specious attempts to cache FROM scratch
in container builds. moby/moby#45822
containerd image store: Fix docker cp with snapshotters that cannot
mount the same content multiple times. moby/moby#45780, moby/moby#45786
containerd image store: Fix builds with type=image not being
correctly unpacked/stored. moby/moby#45692
containerd image store: Fix incorrectly attempting to unpack
pseudo-images (including attestations) in docker load. moby/moby#45688
containerd image store: Correctly set the user agent, and include
additional information like the snapshotter when interacting with registries. moby/moby#45671, moby/moby#45684
containerd image store: Fix a failure to unpack already-pulled
content after switching between snapshotters. moby/moby#45678
containerd image store: Fix images that have been re-tagged or with
all tags removed being pruned while still in use. moby/moby#45857
Fix a Swarm CSI issue where the Topology field was not propagated
into NodeCSIInfo. moby/moby#45810
Fix failures to add new Swarm managers caused by a very large raft
log. moby/moby#45703, moby/swarmkit#3122, moby/swarmkit#3128
name_to_handle_at(2) is now always allowed in the default seccomp
profile. moby/moby#45833
Fix an issue that prevented encrypted Swarm overlay networks from
working on ports other than the default (4789). moby/moby#45637
Fix a failure to restore mount reference-counts during live-restore.
moby/moby#45824
Fix various networking-related failures during live-restore.
moby/moby#45658, moby/moby#45659
Fix running containers restoring with a zero (successful) exit
status when the daemon is unexpectedly terminated. moby/moby#45801
Fix a potential panic while executing healthcheck probes.
moby/moby#45798
Fix a panic caused by a race condition in container exec start.
moby/moby#45794
Fix an exception caused by attaching a terminal to an exec with a
non-existent command. moby/moby#45643
Fix host-gateway with BuildKit by passing the IP as a label (also
requires docker/buildx#1894). moby/moby#45790
Fix an issue where POST /containers/{id}/stop would forcefully
terminate the container when the request was canceled, instead of waiting until the specified timeout for a ‘graceful’ stop. moby/moby#45774
Fix an issue where docker cp -a from the root (/) directory would
fail. moby/moby#45748
Improve compatibility with non-runc container runtimes by more
correctly setting resource constraint parameters in the OCI config. moby/moby#45746
Fix an issue caused by overlapping subuid/subgid ranges in certain
configurations (e.g. LDAP) in rootless mode. moby/moby#45747, rootless-containers/rootlesskit#369
Greatly reduce CPU and memory usage while populating the Debug
section of GET /info. moby/moby#45856
Fix an issue where debug information was not correctly printed
during docker info when only the client is in debug mode. docker/cli#4393
Fix issues related to hung connections when connecting to hosts over
a SSH connection. docker/cli#4395

Packaging updates

    Upgrade Go to go1.20.5. moby/moby#45745, docker/cli#4351,

docker/docker-ce-packaging#904
Upgrade Compose to v2.19.1. docker/docker-ce-packaging#916 Upgrade buildx to v0.11.1. docker/docker-ce-packaging#918

---
 recipes-containers/docker/docker-moby_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-moby_git.bb +3 -4
index 2fc11d0..de20aa6 100644
@@ -44,9 +44,9 @@ DESCRIPTION = "Linux container runtime \
 # so we get that tag, and make it our SRCREVS:
 #
 
-SRCREV_moby = "d7aa1e14e521af24c0aca800a837866f514f46f7"
+SRCREV_moby = "a61e2b4c9c5f7c241aeb37f389b4444aee26bea4"
 SRCREV_libnetwork = "3f0048413d95802b9c6c836eba06bfc54f9dbd03"
-SRCREV_cli = "0823df7daa197bba96f2f2a85b9cbe156df78d43"
+SRCREV_cli = "ced099660009713e0e845eeb754e6050dbaa45d0"
 SRCREV_FORMAT = "moby_libnetwork"
 SRC_URI = "\
        git://github.com/moby/moby.git;branch=24.0;name=moby;protocol=https \
@@ -66,7 +66,7 @@ require docker.inc
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"
 
-DOCKER_VERSION = "24.0.2"
+DOCKER_VERSION = "24.0.5"
 PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
 
 CVE_PRODUCT = "docker mobyproject:moby"
--

2.34.1

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

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#3 lore raw

Hi,

looks like kirkstone and dunfell are affected as well after go backports:
kirkstone: https://lists.openembedded.org/g/openembedded-core/message/185082
dunfell: https://lists.openembedded.org/g/openembedded-core/message/185895

Cheers,

Quoted 238 lines · Mikko Rapeli

Hi, would be nice to get this or similar change applied to master to get docker
container network connections working again.

FWIW, kirkstone branch suffers from same problem but docker and go versions are different. Point release update could fix the issue there too.

Cheers,

-Mikko

Quoted 10 lines · Bruce Ashfield

Thanks for the change, I'll double check my pending set of component updates against this.

I have a full set of updates under test, but have been out of the office the last week, so they are a bit delayed in making it to master-next.

Bruce

On Wed, Aug 2, 2023 at 4:22 AM Mikko Rapeli <[email protected]>

Quoted 23 lines · wrote:
Quoted 23 lines

From: Mikko Rapeli <[email protected]>

go 1.20.6 from poky is not compatible with docker 24.0.2 and network stack inside container is failing with "invalid Host header" error, see for example https://github.com/moby/moby/issues/45935

24.0.5 contains the fixes for go and also other bug fixes. Suggested by Javier Tia <[email protected]>.

Changes listed in
https://docs.docker.com/engine/release-notes/24.0/ are:

24.0.5

2023-07-24

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.5 milestone
    moby/moby, 24.0.5 milestone
Quoted 6 lines
Quoted 6 lines

Bug fixes and enhancements

The Go client now avoids using UNIX socket paths in the HTTP Host:
header, in order to be compatible with changes introduced in go1.20.6. moby/moby#45962, moby/moby#45990
containerd storage backend: Fix Variant not being included in

docker

Quoted 8 lines
Quoted 8 lines

image inspect and GET /images/{name}/json. moby/moby#46025
containerd storage backend: Prevent potential garbage collection of
content during image export. moby/moby#46021
containerd storage backend: Prevent duplicate digest entries in
RepoDigests. moby/moby#46014
containerd storage backend: Fix operations taking place against the
incorrect tag when working with an image referenced by tag and digest. moby/moby#46013

Quoted 8 lines
Quoted 8 lines

containerd storage backend: Fix a panic caused by EXPOSE when
building containers with the legacy builder. moby/moby#45921
Fix a regression causing unintuitive errors to be returned when
attempting to create an overlay network on a non-Swarm node. moby/moby#45974
Properly report errors parsing volume specifications from the
command line. docker/cli#4423
Fix a panic caused when auths: null is found in the CLI config

file.

Quoted 19 lines
Quoted 19 lines

docker/cli#4450

Packaging updates

Use init scripts as provided by in moby/moby contrib/init.
docker/docker-ce-packaging#914, docker/docker-ce-packaging#926
Drop Upstart from contrib/init. moby/moby#46044 Upgrade Go to go1.20.6. docker/cli#4428, moby/moby#45970,
docker/docker-ce-packaging#921
Upgrade Compose to v2.20.2. docker/docker-ce-packaging#924 Upgrade buildx to v0.11.2. docker/docker-ce-packaging#922

24.0.4

2023-07-07

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

Quoted 6 lines
Quoted 6 lines
    docker/cli, 24.0.4 milestone
    moby/moby, 24.0.4 milestone

Bug fixes and enhancements

Fix a regression introduced during 24.0.3 that causes a panic

during

Quoted 33 lines
Quoted 33 lines

live-restore of containers with bind mounts. moby/moby#45903

24.0.3

2023-07-06

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.3 milestone
    moby/moby, 24.0.3 milestone

Bug fixes and enhancements

containerd image store: Fix an issue where multi-platform images
that did not include a manifest for the default platform could not be interacted with. moby/moby#45849
containerd image store: Fix specious attempts to cache FROM scratch
in container builds. moby/moby#45822
containerd image store: Fix docker cp with snapshotters that cannot
mount the same content multiple times. moby/moby#45780, moby/moby#45786
containerd image store: Fix builds with type=image not being
correctly unpacked/stored. moby/moby#45692
containerd image store: Fix incorrectly attempting to unpack
pseudo-images (including attestations) in docker load. moby/moby#45688
containerd image store: Correctly set the user agent, and include
additional information like the snapshotter when interacting with registries. moby/moby#45671, moby/moby#45684
containerd image store: Fix a failure to unpack already-pulled
content after switching between snapshotters. moby/moby#45678
containerd image store: Fix images that have been re-tagged or with
all tags removed being pruned while still in use. moby/moby#45857
Fix a Swarm CSI issue where the Topology field was not propagated

Quoted 8 lines
Quoted 8 lines

into NodeCSIInfo. moby/moby#45810
Fix failures to add new Swarm managers caused by a very large raft
log. moby/moby#45703, moby/swarmkit#3122, moby/swarmkit#3128
name_to_handle_at(2) is now always allowed in the default seccomp
profile. moby/moby#45833
Fix an issue that prevented encrypted Swarm overlay networks from
working on ports other than the default (4789). moby/moby#45637
Fix a failure to restore mount reference-counts during

live-restore.

Quoted 23 lines
Quoted 23 lines

moby/moby#45824
Fix various networking-related failures during live-restore.
moby/moby#45658, moby/moby#45659
Fix running containers restoring with a zero (successful) exit
status when the daemon is unexpectedly terminated. moby/moby#45801
Fix a potential panic while executing healthcheck probes.
moby/moby#45798
Fix a panic caused by a race condition in container exec start.
moby/moby#45794
Fix an exception caused by attaching a terminal to an exec with a
non-existent command. moby/moby#45643
Fix host-gateway with BuildKit by passing the IP as a label (also
requires docker/buildx#1894). moby/moby#45790
Fix an issue where POST /containers/{id}/stop would forcefully
terminate the container when the request was canceled, instead of waiting until the specified timeout for a ‘graceful’ stop. moby/moby#45774
Fix an issue where docker cp -a from the root (/) directory would
fail. moby/moby#45748
Improve compatibility with non-runc container runtimes by more
correctly setting resource constraint parameters in the OCI config. moby/moby#45746
Fix an issue caused by overlapping subuid/subgid ranges in certain

Quoted 8 lines
Quoted 8 lines

configurations (e.g. LDAP) in rootless mode. moby/moby#45747, rootless-containers/rootlesskit#369
Greatly reduce CPU and memory usage while populating the Debug
section of GET /info. moby/moby#45856
Fix an issue where debug information was not correctly printed
during docker info when only the client is in debug mode. docker/cli#4393
Fix issues related to hung connections when connecting to hosts

over

Quoted 9 lines
Quoted 9 lines

a SSH connection. docker/cli#4395

Packaging updates

    Upgrade Go to go1.20.5. moby/moby#45745, docker/cli#4351,

docker/docker-ce-packaging#904
Upgrade Compose to v2.19.1. docker/docker-ce-packaging#916 Upgrade buildx to v0.11.1. docker/docker-ce-packaging#918

Quoted 7 lines

Review

Quoted 7 lines
---
 recipes-containers/docker/docker-moby_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/recipes-containers/docker/docker-moby_git.bb

Quoted 7 lines
Quoted 7 lines

index 2fc11d0..de20aa6 100644

recipes-containers/docker/docker-moby_git.bb +0 -0
@@ -44,9 +44,9 @@ DESCRIPTION = "Linux container runtime \
 # so we get that tag, and make it our SRCREVS:
 #
 
Quoted 8 lines

recipes-containers/docker/docker-moby_git.bb DESCRIPTION = "Linux container runtime \

Quoted 8 lines
recipes-containers/docker/docker-moby_git.bb +2 -2
-SRCREV_moby = "d7aa1e14e521af24c0aca800a837866f514f46f7"
+SRCREV_moby = "a61e2b4c9c5f7c241aeb37f389b4444aee26bea4"
 SRCREV_libnetwork = "3f0048413d95802b9c6c836eba06bfc54f9dbd03"
-SRCREV_cli = "0823df7daa197bba96f2f2a85b9cbe156df78d43"
+SRCREV_cli = "ced099660009713e0e845eeb754e6050dbaa45d0"
 SRCREV_FORMAT = "moby_libnetwork"
 SRC_URI = "\
        git://

github.com/moby/moby.git;branch=24.0;name=moby;protocol=https \

Quoted 3 lines

recipes-containers/docker/docker-moby_git.bb require docker.inc · line 67

Quoted 3 lines
recipes-containers/docker/docker-moby_git.bb +0 -0
@@ -66,7 +66,7 @@ require docker.inc
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM =

"file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"

Quoted 5 lines
Quoted 5 lines
recipes-containers/docker/docker-moby_git.bb +1 -1
-DOCKER_VERSION = "24.0.2"
+DOCKER_VERSION = "24.0.5"
 PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
 
Quoted 13 lines
Quoted 7 lines
recipes-containers/docker/docker-moby_git.bb +0 -1
 CVE_PRODUCT = "docker mobyproject:moby"
--

2.34.1

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

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

#4 lore raw

Hi,

Quoted 5 lines · Martin Jansa

Hi,

looks like kirkstone and dunfell are affected as well after go backports:
kirkstone: https://lists.openembedded.org/g/openembedded-core/message/185082
dunfell: https://lists.openembedded.org/g/openembedded-core/message/185895

Yes, fix should be an update of moby from v20.10.21 to v20.10.25 in kirkstone. dunfell docker 19.03 looks like not maintained anymore upstream.

Unfortunately I've managed update from dunfell and kirkstone to master branch and don't build these branches anymore.

Cheers,

-Mikko

Quoted 243 lines

Cheers,

Quoted 238 lines · Mikko Rapeli

Hi, would be nice to get this or similar change applied to master to get docker
container network connections working again.

FWIW, kirkstone branch suffers from same problem but docker and go versions are different. Point release update could fix the issue there too.

Cheers,

-Mikko

Quoted 10 lines · Bruce Ashfield

Thanks for the change, I'll double check my pending set of component updates against this.

I have a full set of updates under test, but have been out of the office the last week, so they are a bit delayed in making it to master-next.

Bruce

On Wed, Aug 2, 2023 at 4:22 AM Mikko Rapeli <[email protected]>

Quoted 23 lines · wrote:
Quoted 23 lines

From: Mikko Rapeli <[email protected]>

go 1.20.6 from poky is not compatible with docker 24.0.2 and network stack inside container is failing with "invalid Host header" error, see for example https://github.com/moby/moby/issues/45935

24.0.5 contains the fixes for go and also other bug fixes. Suggested by Javier Tia <[email protected]>.

Changes listed in
https://docs.docker.com/engine/release-notes/24.0/ are:

24.0.5

2023-07-24

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.5 milestone
    moby/moby, 24.0.5 milestone
Quoted 6 lines
Quoted 6 lines

Bug fixes and enhancements

The Go client now avoids using UNIX socket paths in the HTTP Host:
header, in order to be compatible with changes introduced in go1.20.6. moby/moby#45962, moby/moby#45990
containerd storage backend: Fix Variant not being included in

docker

Quoted 8 lines
Quoted 8 lines

image inspect and GET /images/{name}/json. moby/moby#46025
containerd storage backend: Prevent potential garbage collection of
content during image export. moby/moby#46021
containerd storage backend: Prevent duplicate digest entries in
RepoDigests. moby/moby#46014
containerd storage backend: Fix operations taking place against the
incorrect tag when working with an image referenced by tag and digest. moby/moby#46013

Quoted 8 lines
Quoted 8 lines

containerd storage backend: Fix a panic caused by EXPOSE when
building containers with the legacy builder. moby/moby#45921
Fix a regression causing unintuitive errors to be returned when
attempting to create an overlay network on a non-Swarm node. moby/moby#45974
Properly report errors parsing volume specifications from the
command line. docker/cli#4423
Fix a panic caused when auths: null is found in the CLI config

file.

Quoted 19 lines
Quoted 19 lines

docker/cli#4450

Packaging updates

Use init scripts as provided by in moby/moby contrib/init.
docker/docker-ce-packaging#914, docker/docker-ce-packaging#926
Drop Upstart from contrib/init. moby/moby#46044 Upgrade Go to go1.20.6. docker/cli#4428, moby/moby#45970,
docker/docker-ce-packaging#921
Upgrade Compose to v2.20.2. docker/docker-ce-packaging#924 Upgrade buildx to v0.11.2. docker/docker-ce-packaging#922

24.0.4

2023-07-07

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

Quoted 6 lines
Quoted 6 lines
    docker/cli, 24.0.4 milestone
    moby/moby, 24.0.4 milestone

Bug fixes and enhancements

Fix a regression introduced during 24.0.3 that causes a panic

during

Quoted 33 lines
Quoted 33 lines

live-restore of containers with bind mounts. moby/moby#45903

24.0.3

2023-07-06

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.3 milestone
    moby/moby, 24.0.3 milestone

Bug fixes and enhancements

containerd image store: Fix an issue where multi-platform images
that did not include a manifest for the default platform could not be interacted with. moby/moby#45849
containerd image store: Fix specious attempts to cache FROM scratch
in container builds. moby/moby#45822
containerd image store: Fix docker cp with snapshotters that cannot
mount the same content multiple times. moby/moby#45780, moby/moby#45786
containerd image store: Fix builds with type=image not being
correctly unpacked/stored. moby/moby#45692
containerd image store: Fix incorrectly attempting to unpack
pseudo-images (including attestations) in docker load. moby/moby#45688
containerd image store: Correctly set the user agent, and include
additional information like the snapshotter when interacting with registries. moby/moby#45671, moby/moby#45684
containerd image store: Fix a failure to unpack already-pulled
content after switching between snapshotters. moby/moby#45678
containerd image store: Fix images that have been re-tagged or with
all tags removed being pruned while still in use. moby/moby#45857
Fix a Swarm CSI issue where the Topology field was not propagated

Quoted 8 lines
Quoted 8 lines

into NodeCSIInfo. moby/moby#45810
Fix failures to add new Swarm managers caused by a very large raft
log. moby/moby#45703, moby/swarmkit#3122, moby/swarmkit#3128
name_to_handle_at(2) is now always allowed in the default seccomp
profile. moby/moby#45833
Fix an issue that prevented encrypted Swarm overlay networks from
working on ports other than the default (4789). moby/moby#45637
Fix a failure to restore mount reference-counts during

live-restore.

Quoted 23 lines
Quoted 23 lines

moby/moby#45824
Fix various networking-related failures during live-restore.
moby/moby#45658, moby/moby#45659
Fix running containers restoring with a zero (successful) exit
status when the daemon is unexpectedly terminated. moby/moby#45801
Fix a potential panic while executing healthcheck probes.
moby/moby#45798
Fix a panic caused by a race condition in container exec start.
moby/moby#45794
Fix an exception caused by attaching a terminal to an exec with a
non-existent command. moby/moby#45643
Fix host-gateway with BuildKit by passing the IP as a label (also
requires docker/buildx#1894). moby/moby#45790
Fix an issue where POST /containers/{id}/stop would forcefully
terminate the container when the request was canceled, instead of waiting until the specified timeout for a ‘graceful’ stop. moby/moby#45774
Fix an issue where docker cp -a from the root (/) directory would
fail. moby/moby#45748
Improve compatibility with non-runc container runtimes by more
correctly setting resource constraint parameters in the OCI config. moby/moby#45746
Fix an issue caused by overlapping subuid/subgid ranges in certain

Quoted 8 lines
Quoted 8 lines

configurations (e.g. LDAP) in rootless mode. moby/moby#45747, rootless-containers/rootlesskit#369
Greatly reduce CPU and memory usage while populating the Debug
section of GET /info. moby/moby#45856
Fix an issue where debug information was not correctly printed
during docker info when only the client is in debug mode. docker/cli#4393
Fix issues related to hung connections when connecting to hosts

over

Quoted 9 lines
Quoted 9 lines

a SSH connection. docker/cli#4395

Packaging updates

    Upgrade Go to go1.20.5. moby/moby#45745, docker/cli#4351,

docker/docker-ce-packaging#904
Upgrade Compose to v2.19.1. docker/docker-ce-packaging#916 Upgrade buildx to v0.11.1. docker/docker-ce-packaging#918

Quoted 7 lines

Review

Quoted 7 lines
---
 recipes-containers/docker/docker-moby_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/recipes-containers/docker/docker-moby_git.bb

Quoted 7 lines
Quoted 7 lines

index 2fc11d0..de20aa6 100644

recipes-containers/docker/docker-moby_git.bb +0 -0
@@ -44,9 +44,9 @@ DESCRIPTION = "Linux container runtime \
 # so we get that tag, and make it our SRCREVS:
 #
 
Quoted 8 lines

recipes-containers/docker/docker-moby_git.bb DESCRIPTION = "Linux container runtime \

Quoted 8 lines
recipes-containers/docker/docker-moby_git.bb +2 -2
-SRCREV_moby = "d7aa1e14e521af24c0aca800a837866f514f46f7"
+SRCREV_moby = "a61e2b4c9c5f7c241aeb37f389b4444aee26bea4"
 SRCREV_libnetwork = "3f0048413d95802b9c6c836eba06bfc54f9dbd03"
-SRCREV_cli = "0823df7daa197bba96f2f2a85b9cbe156df78d43"
+SRCREV_cli = "ced099660009713e0e845eeb754e6050dbaa45d0"
 SRCREV_FORMAT = "moby_libnetwork"
 SRC_URI = "\
        git://

github.com/moby/moby.git;branch=24.0;name=moby;protocol=https \

Quoted 3 lines

recipes-containers/docker/docker-moby_git.bb require docker.inc · line 67

Quoted 3 lines
recipes-containers/docker/docker-moby_git.bb +0 -0
@@ -66,7 +66,7 @@ require docker.inc
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM =

"file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"

Quoted 5 lines
Quoted 5 lines
recipes-containers/docker/docker-moby_git.bb +1 -1
-DOCKER_VERSION = "24.0.2"
+DOCKER_VERSION = "24.0.5"
 PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
 
Quoted 13 lines
Quoted 7 lines
recipes-containers/docker/docker-moby_git.bb +0 -1
 CVE_PRODUCT = "docker mobyproject:moby"
--

2.34.1

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

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

#5 lore raw

We also see the "invalid Host header" on mickledore

Looking into it but not figured out (yet) which combination of docker 23.x.x and patches fixes it

Regards

Adam

#6 lore raw

Hi,

Quoted 3 lines · Adam Johnston

We also see the "invalid Host header" on mickledore

Looking into it but not figured out (yet) which combination of docker 23.x.x and patches fixes it

I think switching to docker-moby and adding these patches to mickledore is the way to go:

49fdcebf5b28d0661313bc34361f031f28db194e moby: update to v24.0.2 23373571e71f951b16defae9dbee589168753322 moby: update to v24.0.5

Maybe you can test and submit these to mickledore?

Cheers,

-Mikko

#7 lore raw
Quoted 3 lines · Mikko Rapeli

49fdcebf5b28d0661313bc34361f031f28db194e moby: update to v24.0.2 23373571e71f951b16defae9dbee589168753322 moby: update to v24.0.5

We've already tested v24.0.5 (with mickledore) and can confirm it does fix the issue, however my assumption was that sticking with docker 23.x.x was preferred for stable/mickledore

Am I right/wrong?

#8 lore raw

Bad assumption. I see docker-moby has already bumped to 24.x.x

We will create a patch

Regards

Adam

#9 lore raw
In reply to Mikko Rapeli
Quoted 7 lines · Mikko Rapeli

Hi, would be nice to get this or similar change applied to master to get docker container network connections working again.

FWIW, kirkstone branch suffers from same problem but docker and go versions are different. Point release update could fix the issue there too.

I'm running into some issues when testing the package upgrades you see on master-next in some k8s, k3s and a custom container framework.

I'm unfortunately also working with Richard on OE-core to get some remaining 6.4 kernel issues fixed (if anyone has insight into clock issues at bootup, we'd be happy for ideas), so I'm bouncing between the two debug tasks.

With any luck, I'll get this sorted today/tomorrow and will move master-next into master.

I'll consider the -stable branch issues once I know I haven't broken master for everyone.

Bruce

Quoted 216 lines

Cheers,

-Mikko

Quoted 210 lines · Bruce Ashfield

Thanks for the change, I'll double check my pending set of component updates against this.

I have a full set of updates under test, but have been out of the office the last week, so they are a bit delayed in making it to master-next.

Bruce

Quoted 186 lines · Mikko Rapeli

From: Mikko Rapeli <[email protected]>

go 1.20.6 from poky is not compatible with docker 24.0.2 and network stack inside container is failing with "invalid Host header" error, see for example https://github.com/moby/moby/issues/45935

24.0.5 contains the fixes for go and also other bug fixes. Suggested by Javier Tia <[email protected]>.

Changes listed in
https://docs.docker.com/engine/release-notes/24.0/ are:

24.0.5

2023-07-24

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.5 milestone
    moby/moby, 24.0.5 milestone

Bug fixes and enhancements

The Go client now avoids using UNIX socket paths in the HTTP Host:
header, in order to be compatible with changes introduced in go1.20.6. moby/moby#45962, moby/moby#45990
containerd storage backend: Fix Variant not being included in docker
image inspect and GET /images/{name}/json. moby/moby#46025
containerd storage backend: Prevent potential garbage collection of
content during image export. moby/moby#46021
containerd storage backend: Prevent duplicate digest entries in
RepoDigests. moby/moby#46014
containerd storage backend: Fix operations taking place against the
incorrect tag when working with an image referenced by tag and digest. moby/moby#46013
containerd storage backend: Fix a panic caused by EXPOSE when
building containers with the legacy builder. moby/moby#45921
Fix a regression causing unintuitive errors to be returned when
attempting to create an overlay network on a non-Swarm node. moby/moby#45974
Properly report errors parsing volume specifications from the
command line. docker/cli#4423
Fix a panic caused when auths: null is found in the CLI config file.
docker/cli#4450

Packaging updates

Use init scripts as provided by in moby/moby contrib/init.
docker/docker-ce-packaging#914, docker/docker-ce-packaging#926
Drop Upstart from contrib/init. moby/moby#46044 Upgrade Go to go1.20.6. docker/cli#4428, moby/moby#45970,
docker/docker-ce-packaging#921
Upgrade Compose to v2.20.2. docker/docker-ce-packaging#924 Upgrade buildx to v0.11.2. docker/docker-ce-packaging#922

24.0.4

2023-07-07

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.4 milestone
    moby/moby, 24.0.4 milestone

Bug fixes and enhancements

Fix a regression introduced during 24.0.3 that causes a panic during
live-restore of containers with bind mounts. moby/moby#45903

24.0.3

2023-07-06

For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:

    docker/cli, 24.0.3 milestone
    moby/moby, 24.0.3 milestone

Bug fixes and enhancements

containerd image store: Fix an issue where multi-platform images
that did not include a manifest for the default platform could not be interacted with. moby/moby#45849
containerd image store: Fix specious attempts to cache FROM scratch
in container builds. moby/moby#45822
containerd image store: Fix docker cp with snapshotters that cannot
mount the same content multiple times. moby/moby#45780, moby/moby#45786
containerd image store: Fix builds with type=image not being
correctly unpacked/stored. moby/moby#45692
containerd image store: Fix incorrectly attempting to unpack
pseudo-images (including attestations) in docker load. moby/moby#45688
containerd image store: Correctly set the user agent, and include
additional information like the snapshotter when interacting with registries. moby/moby#45671, moby/moby#45684
containerd image store: Fix a failure to unpack already-pulled
content after switching between snapshotters. moby/moby#45678
containerd image store: Fix images that have been re-tagged or with
all tags removed being pruned while still in use. moby/moby#45857
Fix a Swarm CSI issue where the Topology field was not propagated
into NodeCSIInfo. moby/moby#45810
Fix failures to add new Swarm managers caused by a very large raft
log. moby/moby#45703, moby/swarmkit#3122, moby/swarmkit#3128
name_to_handle_at(2) is now always allowed in the default seccomp
profile. moby/moby#45833
Fix an issue that prevented encrypted Swarm overlay networks from
working on ports other than the default (4789). moby/moby#45637
Fix a failure to restore mount reference-counts during live-restore.
moby/moby#45824
Fix various networking-related failures during live-restore.
moby/moby#45658, moby/moby#45659
Fix running containers restoring with a zero (successful) exit
status when the daemon is unexpectedly terminated. moby/moby#45801
Fix a potential panic while executing healthcheck probes.
moby/moby#45798
Fix a panic caused by a race condition in container exec start.
moby/moby#45794
Fix an exception caused by attaching a terminal to an exec with a
non-existent command. moby/moby#45643
Fix host-gateway with BuildKit by passing the IP as a label (also
requires docker/buildx#1894). moby/moby#45790
Fix an issue where POST /containers/{id}/stop would forcefully
terminate the container when the request was canceled, instead of waiting until the specified timeout for a ‘graceful’ stop. moby/moby#45774
Fix an issue where docker cp -a from the root (/) directory would
fail. moby/moby#45748
Improve compatibility with non-runc container runtimes by more
correctly setting resource constraint parameters in the OCI config. moby/moby#45746
Fix an issue caused by overlapping subuid/subgid ranges in certain
configurations (e.g. LDAP) in rootless mode. moby/moby#45747, rootless-containers/rootlesskit#369
Greatly reduce CPU and memory usage while populating the Debug
section of GET /info. moby/moby#45856
Fix an issue where debug information was not correctly printed
during docker info when only the client is in debug mode. docker/cli#4393
Fix issues related to hung connections when connecting to hosts over
a SSH connection. docker/cli#4395

Packaging updates

    Upgrade Go to go1.20.5. moby/moby#45745, docker/cli#4351,

docker/docker-ce-packaging#904
Upgrade Compose to v2.19.1. docker/docker-ce-packaging#916 Upgrade buildx to v0.11.1. docker/docker-ce-packaging#918

---
 recipes-containers/docker/docker-moby_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
recipes-containers/docker/docker-moby_git.bb +3 -4
index 2fc11d0..de20aa6 100644
@@ -44,9 +44,9 @@ DESCRIPTION = "Linux container runtime \
 # so we get that tag, and make it our SRCREVS:
 #
 
-SRCREV_moby = "d7aa1e14e521af24c0aca800a837866f514f46f7"
+SRCREV_moby = "a61e2b4c9c5f7c241aeb37f389b4444aee26bea4"
 SRCREV_libnetwork = "3f0048413d95802b9c6c836eba06bfc54f9dbd03"
-SRCREV_cli = "0823df7daa197bba96f2f2a85b9cbe156df78d43"
+SRCREV_cli = "ced099660009713e0e845eeb754e6050dbaa45d0"
 SRCREV_FORMAT = "moby_libnetwork"
 SRC_URI = "\
        git://github.com/moby/moby.git;branch=24.0;name=moby;protocol=https \
@@ -66,7 +66,7 @@ require docker.inc
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"
 
-DOCKER_VERSION = "24.0.2"
+DOCKER_VERSION = "24.0.5"
 PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
 
 CVE_PRODUCT = "docker mobyproject:moby"
--

2.34.1

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8164): https://lists.yoctoproject.org/g/meta-virtualization/message/8164
Mute This Topic: https://lists.yoctoproject.org/mt/100501205/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

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#10 lore raw

I'll check latest v20.10.x release in kirkstone, but when I looked before sending the previous e-mail the change log in:
https://github.com/moby/moby/compare/v20.10.21...v20.10.25

doesn't show neither
https://github.com/moby/moby/pull/45962
nor
https://github.com/moby/moby/pull/45990
commits backported to v20, but maybe I've overlooked them (or they look very different in v20).

Quoted 283 lines · Bruce Ashfield
Quoted 2 lines · Mikko Rapeli

Hi, would be nice to get this or similar change applied to master to get

docker

Quoted 5 lines

container network connections working again.

FWIW, kirkstone branch suffers from same problem but docker and go versions are different. Point release update could fix the issue there too.

I'm running into some issues when testing the package upgrades you see on master-next in some k8s, k3s and a custom container framework.

I'm unfortunately also working with Richard on OE-core to get some remaining
6.4 kernel issues fixed (if anyone has insight into clock issues at bootup, we'd
be happy for ideas), so I'm bouncing between the two debug tasks.

With any luck, I'll get this sorted today/tomorrow and will move master-next
into master.

I'll consider the -stable branch issues once I know I haven't broken master for everyone.

Bruce

Quoted 16 lines

Cheers,

-Mikko

Quoted 10 lines · Bruce Ashfield

Thanks for the change, I'll double check my pending set of component updates against this.

I have a full set of updates under test, but have been out of the office the last week, so they are a bit delayed in making it to master-next.

Bruce

On Wed, Aug 2, 2023 at 4:22 AM Mikko Rapeli <[email protected]>

Quoted 10 lines · wrote:
Quoted 10 lines
Quoted 10 lines

From: Mikko Rapeli <[email protected]>

go 1.20.6 from poky is not compatible with docker 24.0.2 and network stack inside container is failing with "invalid Host header" error, see for example https://github.com/moby/moby/issues/45935

24.0.5 contains the fixes for go and also other bug fixes. Suggested by Javier Tia <[email protected]>.

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Changes listed in
https://docs.docker.com/engine/release-notes/24.0/ are:

24.0.5

2023-07-24

For a full list of pull requests and changes in this release, refer

to

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

the relevant GitHub milestones:

    docker/cli, 24.0.5 milestone
    moby/moby, 24.0.5 milestone

Bug fixes and enhancements

The Go client now avoids using UNIX socket paths in the HTTP

Host:

Quoted 1 line
Quoted 1 line
Quoted 1 line

header, in order to be compatible with changes introduced in

go1.20.6.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

moby/moby#45962, moby/moby#45990
containerd storage backend: Fix Variant not being included in

docker

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

image inspect and GET /images/{name}/json. moby/moby#46025
containerd storage backend: Prevent potential garbage collection

of

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

content during image export. moby/moby#46021
containerd storage backend: Prevent duplicate digest entries in
RepoDigests. moby/moby#46014
containerd storage backend: Fix operations taking place against

the

Quoted 1 line
Quoted 1 line
Quoted 1 line

incorrect tag when working with an image referenced by tag and

digest.

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

moby/moby#46013
containerd storage backend: Fix a panic caused by EXPOSE when
building containers with the legacy builder. moby/moby#45921
Fix a regression causing unintuitive errors to be returned when
attempting to create an overlay network on a non-Swarm node. moby/moby#45974
Properly report errors parsing volume specifications from the
command line. docker/cli#4423
Fix a panic caused when auths: null is found in the CLI config

file.

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

docker/cli#4450

Packaging updates

Use init scripts as provided by in moby/moby contrib/init.
docker/docker-ce-packaging#914, docker/docker-ce-packaging#926
Drop Upstart from contrib/init. moby/moby#46044 Upgrade Go to go1.20.6. docker/cli#4428, moby/moby#45970,
docker/docker-ce-packaging#921
Upgrade Compose to v2.20.2. docker/docker-ce-packaging#924 Upgrade buildx to v0.11.2. docker/docker-ce-packaging#922

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

24.0.4

2023-07-07

For a full list of pull requests and changes in this release, refer

to

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

the relevant GitHub milestones:

    docker/cli, 24.0.4 milestone
    moby/moby, 24.0.4 milestone

Bug fixes and enhancements

Fix a regression introduced during 24.0.3 that causes a panic

during

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

live-restore of containers with bind mounts. moby/moby#45903

24.0.3

2023-07-06

For a full list of pull requests and changes in this release, refer

to

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

the relevant GitHub milestones:

    docker/cli, 24.0.3 milestone
    moby/moby, 24.0.3 milestone

Bug fixes and enhancements

containerd image store: Fix an issue where multi-platform images
that did not include a manifest for the default platform could not be interacted with. moby/moby#45849
containerd image store: Fix specious attempts to cache FROM

scratch

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

in container builds. moby/moby#45822
containerd image store: Fix docker cp with snapshotters that

cannot

Quoted 1 line
Quoted 1 line
Quoted 1 line

mount the same content multiple times. moby/moby#45780,

moby/moby#45786

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

containerd image store: Fix builds with type=image not being
correctly unpacked/stored. moby/moby#45692
containerd image store: Fix incorrectly attempting to unpack
pseudo-images (including attestations) in docker load.

moby/moby#45688

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

containerd image store: Correctly set the user agent, and include
additional information like the snapshotter when interacting with registries. moby/moby#45671, moby/moby#45684
containerd image store: Fix a failure to unpack already-pulled
content after switching between snapshotters. moby/moby#45678
containerd image store: Fix images that have been re-tagged or

with

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

all tags removed being pruned while still in use. moby/moby#45857
Fix a Swarm CSI issue where the Topology field was not propagated
into NodeCSIInfo. moby/moby#45810
Fix failures to add new Swarm managers caused by a very large

raft

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

log. moby/moby#45703, moby/swarmkit#3122, moby/swarmkit#3128
name_to_handle_at(2) is now always allowed in the default seccomp
profile. moby/moby#45833
Fix an issue that prevented encrypted Swarm overlay networks from
working on ports other than the default (4789). moby/moby#45637
Fix a failure to restore mount reference-counts during

live-restore.

Quoted 15 lines
Quoted 15 lines
Quoted 15 lines

moby/moby#45824
Fix various networking-related failures during live-restore.
moby/moby#45658, moby/moby#45659
Fix running containers restoring with a zero (successful) exit
status when the daemon is unexpectedly terminated. moby/moby#45801
Fix a potential panic while executing healthcheck probes.
moby/moby#45798
Fix a panic caused by a race condition in container exec start.
moby/moby#45794
Fix an exception caused by attaching a terminal to an exec with a
non-existent command. moby/moby#45643
Fix host-gateway with BuildKit by passing the IP as a label (also
requires docker/buildx#1894). moby/moby#45790
Fix an issue where POST /containers/{id}/stop would forcefully
terminate the container when the request was canceled, instead of

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

waiting until the specified timeout for a ‘graceful’ stop. moby/moby#45774
Fix an issue where docker cp -a from the root (/) directory would
fail. moby/moby#45748
Improve compatibility with non-runc container runtimes by more
correctly setting resource constraint parameters in the OCI config. moby/moby#45746
Fix an issue caused by overlapping subuid/subgid ranges in

certain

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

configurations (e.g. LDAP) in rootless mode. moby/moby#45747, rootless-containers/rootlesskit#369
Greatly reduce CPU and memory usage while populating the Debug
section of GET /info. moby/moby#45856
Fix an issue where debug information was not correctly printed
during docker info when only the client is in debug mode. docker/cli#4393
Fix issues related to hung connections when connecting to hosts

over

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

a SSH connection. docker/cli#4395

Packaging updates

    Upgrade Go to go1.20.5. moby/moby#45745, docker/cli#4351,

docker/docker-ce-packaging#904
Upgrade Compose to v2.19.1. docker/docker-ce-packaging#916 Upgrade buildx to v0.11.1. docker/docker-ce-packaging#918

Quoted 7 lines
Quoted 7 lines

Review

Quoted 7 lines
---
 recipes-containers/docker/docker-moby_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/recipes-containers/docker/docker-moby_git.bb

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

index 2fc11d0..de20aa6 100644

recipes-containers/docker/docker-moby_git.bb +0 -0
@@ -44,9 +44,9 @@ DESCRIPTION = "Linux container runtime \
 # so we get that tag, and make it our SRCREVS:
 #
 
Quoted 8 lines
Quoted 8 lines

recipes-containers/docker/docker-moby_git.bb DESCRIPTION = "Linux container runtime \

Quoted 8 lines
recipes-containers/docker/docker-moby_git.bb +2 -2
-SRCREV_moby = "d7aa1e14e521af24c0aca800a837866f514f46f7"
+SRCREV_moby = "a61e2b4c9c5f7c241aeb37f389b4444aee26bea4"
 SRCREV_libnetwork = "3f0048413d95802b9c6c836eba06bfc54f9dbd03"
-SRCREV_cli = "0823df7daa197bba96f2f2a85b9cbe156df78d43"
+SRCREV_cli = "ced099660009713e0e845eeb754e6050dbaa45d0"
 SRCREV_FORMAT = "moby_libnetwork"
 SRC_URI = "\
        git://

github.com/moby/moby.git;branch=24.0;name=moby;protocol=https \

Quoted 3 lines
Quoted 3 lines

recipes-containers/docker/docker-moby_git.bb require docker.inc · line 67

Quoted 3 lines
recipes-containers/docker/docker-moby_git.bb +0 -0
@@ -66,7 +66,7 @@ require docker.inc
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM =

"file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28"

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
recipes-containers/docker/docker-moby_git.bb +1 -1
-DOCKER_VERSION = "24.0.2"
+DOCKER_VERSION = "24.0.5"
 PV = "${DOCKER_VERSION}+git${SRCREV_moby}"
 
Quoted 13 lines
Quoted 9 lines
Quoted 7 lines
recipes-containers/docker/docker-moby_git.bb +0 -1
 CVE_PRODUCT = "docker mobyproject:moby"
--

2.34.1

Quoted 4 lines

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

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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#8185):
https://lists.yoctoproject.org/g/meta-virtualization/message/8185
Mute This Topic: https://lists.yoctoproject.org/mt/100501205/3617156
Group Owner: [email protected] Unsubscribe:
https://lists.yoctoproject.org/g/meta-virtualization/leave/7925988/3617156/1068030116/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-