Error response from daemon: could not select device driver "" with capabilities: [[gpu]]

Hello , I have followed the steps to install deepstream sdk on windows but getting issues on docker run. Steps followed are below:

1.sudo docker pull nvcr.io/nvidia/deepstream:4.0-19.07
Successfully taken pull.
2.sudo docker run --gpus all -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -w /root nvcr.io/nvidia/deepstream:4.0-19.07
Error: Error response from daemon: could not select device driver “” with capabilities: [[gpu]].

System configuration :

  1. Windows 10
  2. GPU: Nvidia Geforce 940Mx 4GB
    3.Driver version:445.87

You need ubuntu desktop to run with nvidia docker.