About once a day I’ll get the driver error
docker run --gpus all myapp
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"process_linux.go:432: running prestart hook 0 caused \\\"error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: initialization error: driver error: failed to process request\\\\n\\\"\"": unknown.
ERRO[0000] error waiting for container: context canceled
If I restart WSL (powershell: wsl --shutdown
) and load it back up, everything works again. Normally wouldn’t be a problem, but I have long-running containers that this mucks up.