Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

docker: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory. ERRO[0000] error waiting for container: context canceled make: *** [Makefile:13: run] Error 127 #156

Open
frankhli843 opened this issue Feb 4, 2021 · 1 comment

Comments

@frankhli843
Copy link

Running docker container container by using make command gives this error

docker: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory.
ERRO[0000] error waiting for container: context canceled 
make: *** [Makefile:13: run] Error 127

Tried running on mac osx and also tried deploying to my ubuntu 20 server with the same error.

Would appreciate the help!

@weskerfoot
Copy link
Owner

weskerfoot commented Feb 4, 2021

The problem is this line

--device /dev/dri \

It should work on Ubuntu, but I haven't tested it. It probably won't work on MacOS unless you have X11 installed there.

Try removing that line, rebuild, and test on Ubuntu.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants