# NGC pytorch docker container. The NVIDIA Driver was not detected

**URL:** <https://forums.developer.nvidia.com/t/ngc-pytorch-docker-container-the-nvidia-driver-was-not-detected/243925>\
**Category:** Docker and NVIDIA Docker\
**Created:** [February 23, 2023, 11:33pm UTC](https://forums.developer.nvidia.com/t/ngc-pytorch-docker-container-the-nvidia-driver-was-not-detected/243925 "2023-02-23T23:33:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yilinw](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yilinw](https://forums.developer.nvidia.com/u/yilinw)\
**Post date:** [February 23, 2023, 11:33pm UTC](https://forums.developer.nvidia.com/t/ngc-pytorch-docker-container-the-nvidia-driver-was-not-detected/243925/1 "2023-02-23T23:33:07Z")

</div>

Hi everyone,

I tried to use the NGC PyTorch container to make all modules happy with each other.

I followed the instruction on Nvidia NGC pytorch docker container webpage, [PyTorch | NVIDIA NGC](https://catalog.ngc.nvidia.com/orgs/nvidia/containers/pytorch)

I updated my NVIDIA driver, and installed CUDA, and added cuDNN,

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/b/0/b073c8222b2eeaf1e5f7c52eea10ec4612ad55c6.png)

![image](https://global.discourse-cdn.com/nvidia/original/3X/7/b/7bce1717d8e413642a138ca10db52950d9a35f68.png)

My GPU is GeForce RTX 3060, and OS is Windows10

However, after I run a docker container, it said it can not detect my NVidia driver. I run an container using the following command.  
docker run --gpus all --ipc=host --ulimit memlock=-1 -it --ulimit stack=67108864 -v Projects/ -it --rm --name exp \nvcr.io/nvidia/pytorch:23.01-py3

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/4/a/4ad2b11fae338673b323026f22861ed8e48075e2.png)

Thus, I can’t use pytorch-gpu. Please let me know if there is anything inappropriate. Thank you very much.

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/f/6/f6370e3885bddfe0b2d68ff1c6128e56175cc890.png)

Sincerely,  
Yilin Wang
