I've looked up older answers on this which did not help (#1, #2)
I'm getting this error when trying to launch a docker-compose projcet with a container that has the runtime: nvidia
flag.
Following the latest instructions, I installed docker (version 19.03) and the latest nvidia-docker per the repository for Ubuntu. I did not register the runtime anywhere, as the documentation clearly states that it is not necessary now.
Running a single container works, e.g. docker run --gpus all nvidia/cuda:10.0-base nvidia-smi
this works perfectly - but when I try to launch the docker-compose project, it fails with the following error
ERROR: for MY_SERVICE Cannot create container for service MY_SERVICE: Unknown runtime specified nvidia
I don't know if it has anything to do with this, but I'm running on GCP Compute Engine, Ubuntu 18.04