These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.2 KiB

7 months ago
7 months ago
7 months ago
7 months ago
  1. # Folding-at-home
  2. ## Setup
  3. ### Docker
  4. The official container and documentation was made by [johnktims](https://hub.docker.com/r/johnktims/folding-at-home).
  5. #### Ports
  6. Set the following ports with the -p tag.
  7. | Container Port | Recommended outside port | Protocol | Description |
  8. | -------------- | ------------------------ | -------- | ----------- |
  9. | 7396 | 7396 | TCP | WebUI |
  10. #### Additional
  11. There are some special variables to set.
  12. | Flag | Usage |
  13. | ------- | -------------------------------------- |
  14. | --user | set your username |
  15. | --power | set the default power to fold at home |
  16. | --team | set your teamid to contribute points |
  17. ##### GPU
  18. To add a nvidia gpu add the `nvidia-docker-toolkit` or the recommended software for your gpu.
  19. After that you can set you gpu to fold aswell by adding `--gpus=all`.
  20. #### Rebuild
  21. ```
  22. #!/bin/sh
  23. docker stop folding-at-home
  24. docker rm folding-at-home
  25. docker pull johnktims/folding-at-home
  26. docker run --name folding-at-home \
  27. --restart unless-stopped \
  28. -it \
  29. -p 7396:7396 \
  30. -d johnktims/folding-at-home \
  31. --user=default \
  32. --power=full \
  33. --team=000000
  34. ```