Closed sih4sing5hong5 closed 4 years ago
The host config of Runtime
is at fsouza/go-dockerclient.
The host settings of dobi are at tasks/job/run.go.
I know I should insert Runtime : t.config.Runtime
into run.go.
But how to keep runtime as default if user doesn't set this runtime
variable?
I guess there is no way to set that as a default for all jobs right now.
This problem is solved after docker 19.03. Because the docker runtime supports the nvidia GPU.
Thank you for this great work!
There two ways for using nvidia-docker, setting
runtime
or using another commandnvidia-docker
.docker run --runtime=nvidia [image] ...
Which one is more compatiable with dobi?