weskerfoot / DeleteFB

Automate Scrubbing your Facebook Presence
MIT License
2.68k stars 178 forks source link

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 3 years ago

frankhli843 commented 3 years ago

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 commented 3 years ago

The problem is this line https://github.com/weskerfoot/DeleteFB/blob/86403534b9457477c0407946e92c630b583f77b2/Makefile#L19 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.