Getting error while running the docker

while running this command : sudo docker run -it --runtime=nvidia --gpus all nvcr.io/nvidia/deepstream:6.2-devel

Getting this error:
docker: Error response from daemon: failed to create task for container: 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: initialization error: nvml error: driver not loaded: unknown.