Testing nvidia-smi through the Docker container

This is the moment of truth—if this command runs correctly, you should see the nvidia-smi output that you see on your machine outside of the container:

docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi

Your output should look similar to the nvidia-smi command example we showed in the Installing NVIDIA driver for your GPU section:

Testing nvidia-smi

Now you're ready to move onto actually building a development environment.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.235.79