Giter VIP home page Giter VIP logo

Comments (7)

dizcza avatar dizcza commented on August 20, 2024

Hello,

Are you using my docker image https://hub.docker.com/repository/docker/dizcza/docker-hashcat or just copied the instructions from my Dockerfile to yours? I assume the former case. Then I assume you pulled latest tag and not intel-cpu.
The latest tag is derived from official nvidia/opencl:runtime-ubuntu18.04. Here is the dockerfile https://gitlab.com/nvidia/container-images/opencl/blob/ubuntu18.04/runtime/Dockerfile.
I don't have a GPU to test on. But the original nvidia's image has not been changed for a year and at that time I didn't experience any issues with my docker-hashcat image on a series of different GPUs.

Maybe, you need to update nvidia drivers, I'm not sure.

Try also my old tag nvidia-full (it's deprecated, but still should run):

docker pull dizcza/docker-hashcat:nvidia-full
nvidia-docker run -it dizcza/docker-hashcat:nvidia-full /bin/bash

If the issue remains, let me know and open a ticket on github/hashcat.

from docker-hashcat.

adrastee avatar adrastee commented on August 20, 2024

I use https://hub.docker.com/r/dizcza/docker-hashcat
With latest tag.
I will test :nvidia-full tag.

from docker-hashcat.

adrastee avatar adrastee commented on August 20, 2024

I confirm it works with full tag
dizcza/docker-hashcat:nvidia-full

Weird isn't it?
I don't know where I can see the differences between those 2 tags?

from docker-hashcat.

dizcza avatar dizcza commented on August 20, 2024

Thank you for pointing this out, I thought nvidia knows how to install drivers better than me, that's why I switched to inherit their container. But now I see it's better to revert back.

There are a few lines missing in nvidia Dockerfile that I had. Check the commit I made with Nvidia Dockerfile. Please do the following:

  1. nvidia-docker run -it dizcza/docker-hashcat:latest /bin/bash
  2. (inside the container)
echo "/usr/local/nvidia/lib" >> /etc/ld.so.conf.d/nvidia.conf && \
    echo "/usr/local/nvidia/lib64" >> /etc/ld.so.conf.d/nvidia.conf

export PATH=/usr/local/nvidia/bin:${PATH}
export LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64:${LD_LIBRARY_PATH}

export NVIDIA_DRIVER_CAPABILITIES=compute,utility

# then check the hashcat
hashcat -b

and let me know if it worked

from docker-hashcat.

adrastee avatar adrastee commented on August 20, 2024

Hi,
I've ran 1) and 2) commands, an I now get this error :

clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

when running hashcat -b

from docker-hashcat.

dizcza avatar dizcza commented on August 20, 2024

Okay, thank you. Non-trivial.
I better revert change to be exactly as in nvidia-full branch.
I'll close the issue once I do this.

from docker-hashcat.

dizcza avatar dizcza commented on August 20, 2024

I reverted the changes for latest to be exactly the same as in nvidia-full. Can you redownload the latest image once again and verify that it works (it might be slightly different due to updated linux packages). Before doing so, you need to remove the local latest image.

from docker-hashcat.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.