-
Bug
-
Resolution: Fixed
-
Critical (Application)
-
None
-
None
-
docker is currently broken on Funtoo.
During some harvester testing tonight I discovered a breaking bug in our in-tree app-emulation/docker-20.10.17 on Funtoo next.
We are now hitting this very recent upstream bug: Golang client fails to attach to streams with "http: invalid Host header" with go1.20.6, go1.19.11
I was linked to this Issue via this one: Compiling error: http: invalid Host header
When this bug is reproduced locally you will not be able to exec into container and will see errors like this:
docker exec -it harvest /bin/bash http: invalid Host header
The fix for this is to update to the latest Docker CLI release as of 2 weeks ago, which containers the fix, or backport the patches: https://github.com/moby/moby/releases/tag/v24.0.5
I think this may be a great opportunity to autogen Docker CLI so we have the latest. We can use Git tags on the official GitHub repo: https://github.com/docker/cli/tags
Due to this upstream bug, this has now become a blocker for anyone want to upgrade to Golang 1.19.11, 1.20.7, and beyond who use the Docker CLI for Linux containers.