docker: move default from 20.10 to 24

Docker CE 20.10 seems to stop receiving security updates and bug fixes
after December 10, 2023[1].

1. https://github.com/moby/moby/discussions/45104

There is public commitment for longer maintenance and then it seems
risky to default to it during 23.11 life-cycle.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

authored by Otavio Salvador and committed by Anderson Torres 2318de70 455d485f

+3 -1
+2
nixos/doc/manual/release-notes/rl-2311.section.md
··· 565 565 566 566 - The Linux kernel module `msr` (see [`msr(4)`](https://man7.org/linux/man-pages/man4/msr.4.html)), which provides an interface to read and write the model-specific registers (MSRs) of an x86 CPU, can now be configured via `hardware.cpu.x86.msr`. 567 567 568 + - Docker now defaults to 24, as 20.10 is stopping to receive security updates and bug fixes after [December 10, 2023](https://github.com/moby/moby/discussions/45104). 569 + 568 570 - There is a new NixOS option when writing NixOS tests `testing.initrdBackdoor`, that enables `backdoor.service` in initrd. Requires `boot.initrd.systemd.enable` to be enabled. Boot will pause in stage 1 at `initrd.target`, and will listen for commands from the `Machine` python interface, just like stage 2 normally does. This enables commands to be sent to test and debug stage 1. Use `machine.switch_root()` to leave stage 1 and proceed to stage 2.
+1 -1
pkgs/top-level/all-packages.nix
··· 31116 31116 inherit (callPackage ../applications/virtualization/docker {}) 31117 31117 docker_20_10 docker_24; 31118 31118 31119 - docker = docker_20_10; 31119 + docker = docker_24; 31120 31120 docker-client = docker.override { clientOnly = true; }; 31121 31121 31122 31122 docker-proxy = callPackage ../applications/virtualization/docker/proxy.nix { };