启动docker报错docker/daemon.json: the following directives are specified both as a flag and in the configuration file: default-runtime: (from flag: nvidia, from file: nvidia)
删除daemon.json中的"default-runtime":“nvidia”
重启systemctl restart docker
因为当前版本docker(20.10.21)已经默认runtime为nvidia不需要在daemon.json中再次设置