`unresolvable CDI devices` error when running docker container with nvidia runtime

$ docker run -it --rm --runtime=nvidia nvidia/cuda
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: could not apply required modification to OCI specification: error modifying OCI spec: failed to inject CDI devices: unresolvable CDI devices nvidia.com/gpu=all: unknown.

I am using docker 26.0.0 on Fedora Silverblue 39 and I have followed instructions on NVIDIA Container Toolkit Doc. The docker is installed system-wide and running in rootless mode. I have also changed mod of /etc/cdi/nvidia.yaml and /var/run/cdi/nvidia.yaml to readable-by-all-users.