Describe the bug
docker fails to run containers since go has been updated to go1.20.6.
Issue is known upstream: moby/moby#45935 (concise explanation in docker/cli#4437 (comment))
Steps To Reproduce
Steps to reproduce the behavior:
- Update from the channel nixos-23.05-small
- Try a
docker run alpine sh. Fails with http: invalid Host header
Expected behavior
I can run containers on my server 😭
Quickfix
While I'm waiting for a released fix on nixpkgs, how can I circumvent this? Easiest way seems to downgrade go version used to compile various docker binaries, but docker's https://github.com/nixOS/nixpkgs/blob/master/pkgs/applications/virtualization/docker/default.nix can't accept overrides as various packages are built in a let...in.
Is there an easy way to revert commit e5a213c in nixpkgs?
Or is there any easy way to fix this?
Thanks y'all!
Notify maintainers
docker: @offlinehacker @tailhook @vdemeester @periklis @mikroskeem @maxeaubrey
go: @kalbasit @Mic92 @zowoq @qbit
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.1.38, NixOS, 23.05 (Stoat), 23.05.2067.5f621193137`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.13.3`
- channels(root): `"nixos-23.05-small, nixos-unstable"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Describe the bug
docker fails to run containers since go has been updated to go1.20.6.
Issue is known upstream: moby/moby#45935 (concise explanation in docker/cli#4437 (comment))
Steps To Reproduce
Steps to reproduce the behavior:
docker run alpine sh. Fails withhttp: invalid Host headerExpected behavior
I can run containers on my server 😭
Quickfix
While I'm waiting for a released fix on nixpkgs, how can I circumvent this? Easiest way seems to downgrade go version used to compile various docker binaries, but docker's https://github.com/nixOS/nixpkgs/blob/master/pkgs/applications/virtualization/docker/default.nix can't accept overrides as various packages are built in a
let...in.Is there an easy way to revert commit e5a213c in nixpkgs?
Or is there any easy way to fix this?
Thanks y'all!
Notify maintainers
docker: @offlinehacker @tailhook @vdemeester @periklis @mikroskeem @maxeaubrey
go: @kalbasit @Mic92 @zowoq @qbit
Metadata