NVIDIA / nvidia-docker

Build and run Docker containers leveraging NVIDIA GPUs
Apache License 2.0
17.21k stars 2.03k forks source link

Typo in User Guide #1619

Closed BioGeek closed 2 years ago

BioGeek commented 2 years ago

1. Issue or feature description

Typo in the documentation at https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/user-guide.html in the section 4. Starting a GPU enabled container on specific GPUs:

docker run --gpus '"device=1,2"' \
    nvidia/cuda nvidia-smi --query-gpu=uuid --format-csv

should be:

docker run --gpus '"device=1,2"' \
    nvidia/cuda nvidia-smi --query-gpu=uuid --format=csv

Note the = between --format and csv instead of a -.

elezar commented 2 years ago

Thanks @BioGeek. Would you mind creating a merge request against https://gitlab.com/nvidia/cloud-native/cnt-docs to correct this? You can @ me there for the review.

BioGeek commented 2 years ago

Done. See GitLab merge request #74

elezar commented 2 years ago

The MR has been merged. Thanks for the contribution. I'm going to close this for the time being, please reopen if required.