Sign inSign up

ohgodatrini/fahclient

By ohgodatrini

•Updated over 6 years ago

Image
2

2.3K

ohgodatrini/fahclient repository overview

⁠Folding@home image compatible with vast.ai

⁠Run as an image on Vast.ai

Name of a docker image: ohgodatrini/fahclient:v7_5_1

Run custom command on start: --user=Anonymous --team=0 --gpu=true --smp=true

⁠Pull and run the image from the remote repository

Assuming you are running as root or as a user that is part of the docker group, you can run the app on any machine at the terminal with this command:

sudo nvidia-docker run --rm fahclient --user=Anonymous --team=0 --gpu=false --smp=true

If the image isn’t available locally on the machine, Docker will pull it from the repository.


⁠If you wish to make your own docker image

Modify and save the files below in the same folder and run docker build -t fahclient .

  • Dockerfile
  • yourMiner.tar.gz

More info can be found at docker getting started⁠.

⁠Dockerfile

FROM nvidia/opencl:devel-ubuntu16.04


# Detect GPU indexes automatically
ENV DI=detect
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility

# Install various libs
RUN apt-get update && apt-get install -y \ 
    bzip2 \
    ca-certificates \
    kmod \
    procps \
    libcurl3 \  
    libjansson4 \
    tzdata \  
    wget \
&& rm -rf /var/lib/apt/lists/*  \
&& apt-get clean

RUN wget https://download.foldingathome.org/releases/public/release/fahclient/debian-stable-64bit/v7.5/fahclient_7.5.1_amd64.deb

RUN dpkg -i fahclient_7.5.1_amd64.deb
RUN rm -f fahclient_7.5.1_amd64.deb


ENTRYPOINT ["/usr/bin/FAHClient"]
CMD ["--user=Anonymous", "--team=0", "--gpu=true", "--smp=true"]

Tag summary

Content type

Image

Digest

Size

71.4 MB

Last updated

over 6 years ago

docker pull ohgodatrini/fahclient:v7_6_9_ssh