Nvidia-Driver (only Unraid 6.9.0beta35 and up)
This Plugin is only necessary if you are planning to make use of your Nvidia graphics card inside Docker Containers.
If you only want to use your Nvidia graphics card for a VM then don't install this Plugin!
Discussions about modifications and/or patches that violates the EULA of the driver are not supported by me or anyone here, this could also lead to a take down of the plugin itself!
Please remember that this also viola
With your method you are replacing the daemon.json that is also in place from the nvidia driver, if you want to inject something to the file I would rather do it like this:
sed -i '0,/{/a\ "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"],' /etc/docker/daemon.json
With this method you are injecting the "registry-mirrors" after the first found { and the pre configured nvidia-runtime configuration in the file is untouched.
You also don't need to create the path /etc/