f0cker / crackq

CrackQ: A Python Hashcat cracking queue system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unknown runtime specified nvidia

holaloc opened this issue · comments

hi,

i tried to install it on fresh Ubuntu 18.04 server but no success

Successfully built 3f4f6d78db26
Successfully tagged nginx-crackq:latest
Creating redis ... done
Creating crackq ... error

ERROR: for crackq Cannot create container for service crackq: Unknown runtime specified nvidia

ERROR: for crackq Cannot create container for service crackq: Unknown runtime specified nvidia
ERROR: Encountered errors while bringing up the project.

Sounds like the nvidia-runtime-toolkit isn't installed properly. Does it show up when you run: dpkg -l | grep -i nvidia?

Also check hashcat runs ok on your host ubuntu os.

root@pfmon:~/crackq# dpkg -l | grep -i nvidia
ii libnvidia-container-tools 1.1.1-1 amd64 NVIDIA container runtime library (command-line tools)
ii libnvidia-container1:amd64 1.1.1-1 amd64 NVIDIA container runtime library
ii nvidia-container-toolkit 1.1.2-1 amd64 NVIDIA container runtime hook

What versions do you have for docker and docker-compose?

I think you're experiencing this issue:
docker/compose#6691 (comment)

Let me know if it works and I'll update the wiki. Thanks.

Same command ?

sudo docker-compose -f docker-compose.nvidia.yml up --build

Yeah everything the same, but you just need to modify /etc/docker/daemon.json as in the above comment and restart the docker daemon. I haven't tried it because my dev box is not using the latest docker so I don't have this issue, does it work?

Yes working perfectly 👍

BTW I followed your install wiki so should have latest docker version

Great, I've added a note to the install guide on the wiki and I'll close this off.