Bug 15754

Summary: The docker-engine and docker-cli versions are not compatible with go 1.19.12 version
Product: buildroot Reporter: Dominique Tronche <dominique.tronche>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: critical CC: buildroot
Priority: P1    
Version: 2023.02.4   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Dominique Tronche 2023-09-04 13:36:19 UTC
In 2023.02.4, go package has been upgraded to v1.19.12, however docker packages version is still an unpatched 23.0.5
Hence docker containers face the bug corrected in 24.0.5 in master branch (see commit a9cd24738a7) which produces "invalid Host header" error message

Either docker version should be upgraded to a version compatible with go 1.19.12 in LTS 2023.02 or the patches from christian@aperture.us should be introduced (the patch for docker-cli does not work as the versions in vendor.mod are not correct)
Comment 1 Peter Korsgaard 2023-09-06 19:09:04 UTC
Thanks for the heads up. Fixed on 2023.02.x and 2023.05.x by adding those 2 patches submitted by Christian.
Comment 2 Dominique Tronche 2023-09-07 09:19:45 UTC
Thanks, I confirm these commits have corrected the bug on our platform (branch 2023.02.x)
Comment 3 Stefan Agner 2023-09-13 20:23:54 UTC
What patches are you referring to exactly? The bump to Docker 24.0.5?

From what I can tell this is really a breakage introduced by go v1.19.11, and has been resolve in v1.19.13. By updating go to v1.19.13 the problem seems to be gone for me.