My docker installation is totally down due to Docker fails to run containers · Issue #244159 · NixOS/nixpkgs · GitHub
Waiting for a proper fix to hit the nixos-23.05-small channel, I’m looking for a quickfix because my services running on docker are currently down.
Booting on the previous generation is not doable because I just switched from 22.11 to 23.05 and other services have run migrations and won’t work on the precedent one with their current state (/var/lib/ directory).
It seems like I can’t override buildGoPackage
to downgrade go version in https://github.com/nixOS/nixpkgs/blob/e1d36dfcb05be465aabc1530a9b8d43495faa9eb/pkgs/applications/virtualization/docker/default.nix since it’s not part of the function arguments.
I won’t expose the docker socket on a real port to circumvent the initial go host check issue because it’s an enormous security vulnerability.
I’m stuck x)
Edit: I found a quickfix (see comment in linked issue) by pinning nixpkgs to prior the offending commit, but I’m still interested in a “better” fix (that is, only pinning go to an older version).