RHEL10用のDocker公式リポジトリまだないみたいだね
$ sudo dnf upgrade -y
AlmaLinux 10 - AppStream 3.2 MB/s | 5.5 MB 00:01
AlmaLinux 10 - BaseOS 1.6 MB/s | 2.3 MB 00:01
AlmaLinux 10 - Extras 17 kB/s | 12 kB 00:00
Docker CE Stable - x86_64 390 B/s | 382 B 00:00
Errors during downloading metadata for repository 'docker-ce-stable':
- Status code: 404 for https://download.docker.com/linux/rhel/10/x86_64/stable/repodata/repomd.xml (IP: 2600:9000:26a6:c000:3:db06:4200:93a1)
Error: Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried