https://github.com/michaelfranzl/image_fah-client
Dockerfile for Folding@home client with AMD and Nvidia GPGPU support
https://github.com/michaelfranzl/image_fah-client
container cuda debian docker foldingathome gpu-computing opencl
Last synced: about 1 month ago
JSON representation
Dockerfile for Folding@home client with AMD and Nvidia GPGPU support
- Host: GitHub
- URL: https://github.com/michaelfranzl/image_fah-client
- Owner: michaelfranzl
- License: mit
- Created: 2022-01-16T11:12:27.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-22T16:55:27.000Z (over 4 years ago)
- Last Synced: 2025-01-21T22:43:05.371Z (over 1 year ago)
- Topics: container, cuda, debian, docker, foldingathome, gpu-computing, opencl
- Language: Dockerfile
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# image_fah-client
Dockerfile for Folding@home client with AMD and Nvidia GPGPU support
*Note:* The FOSS AMD driver included in Debian 11 provides OpenCL version 1.1 (as reported by
`clinfo`). The [requirements of
FAHClient](https://foldingathome.org/support/faq/installation-guides/linux/requirements) do not
specify the OpenCL version, so only running FAHClient might tell you if the available OpenCL version
is sufficient.
## Building
Build the image `debian-gpgpu` first. See https://github.com/michaelfranzl/image_debian-gpgpu
Then:
```sh
docker build -t fah-client .
```
## Running
The data directory and all its contents need to be read- and writeable to the `fahclient` user of
the container (e.g. user ID 101). Put the client's `config.xml` inside this directory.
```sh
docker run -name fahclient0 -v /path/to/fahclient-data:/var/lib/fahclient fahclient
```
* To expose AMD GPU(s) to the container, add the Docker argument `--device /dev/dri:/dev/dri`.
* To expose Nvidia GPU(s) to the container, add the Docker argument `--gpus all`. You need an
addition to Docker for the `--gpus` argument. See https://github.com/michaelfranzl/image_debian-gpgpu#exposing-nvidia-gpus-to-containers