I just gave that a try, it looks like it wants the GPU number rather than the ID, and using 0, without the no_groups change, same issue :
docker run --rm --gpus GPU-d532059d-6184-51aa-302a-2411694349df nvidia/cuda:12.1.1-runtime-ubuntu22.04 nvidia-smi
invalid argument "GPU-d532059d-6184-51aa-302a-2411694349df" for "--gpus" flag: count must be an integer: strconv.Atoi: parsing "GPU-d532059d-6184-51aa-302a-2411694349df": invalid syntax
See 'docker run --help'.
docker run --rm --gpus 0 nvidia/cuda:12.1.1-runtime-ubuntu22.04 nvidia-smi
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: container error: failed to get device cgroup mount path: no cgroup filesystem mounted for the devices subsytem in mountinfo file: unknown.