Deepomatic / dmake

DMake is a tool to manage micro-service based applications
MIT License
36 stars 3 forks source link

Crash when running shell on a service needing GPU without nvidia-docker #157

Closed vdel closed 6 years ago

vdel commented 6 years ago

I pulled the last version of dmake and now running dmake shell worker-nn:tf leads to a crash:

## Deploying ##
- Running shell @ vulcain/worker-nn:tf
docker: Error response from daemon: Unknown runtime specified nvidia.

I do not have nvidia-docker installed which, I guess, is the problem. I would prefer to avoid installing it.

thomas-riccardi commented 6 years ago

As a dmake user you have explicitly opt-out of GPU, see https://github.com/Deepomatic/dmake/pull/141: export DMAKE_NO_GPU=1: the services will be run without GPU, it could break things: it's the user's responsibility.

We could add a check and a more explicit warning including the workaround: https://github.com/Deepomatic/dmake/issues/158