Name of a docker image:
ohgodatrini/fahclient:v7_5_1
Run custom command on start:
--user=Anonymous --team=0 --gpu=true --smp=true
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.
Modify and save the files below in the same folder and run docker build -t fahclient .
More info can be found at docker getting started.
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"]
Content type
Image
Digest
Size
71.4 MB
Last updated
over 6 years ago
docker pull ohgodatrini/fahclient:v7_6_9_ssh