---
title: BOINC
url: 'https://niklas-stephan.de/en/wiki/software/boinc'
markdown: 'https://niklas-stephan.de/en/wiki/software/boinc.md'
lang: en
date: '2022-11-01'
description: 'BOINC Verified: November 2022, container setup on a Linux server; project list and platform availability change over time. Volunteer computing: computer users donate CPU time and storage to scientific projects, which solve problems via distributed computing. BOINC is the tool that makes roughly 30 …'
---

#  BOINC 

*Verified: November 2022, container setup on a Linux server; project list and platform availability change over time.*

Volunteer computing: computer users donate CPU time and storage to scientific projects, which solve problems via distributed computing. [BOINC](https://boinc.berkeley.edu/) is the tool that makes roughly 30 such scientific projects available and configurable through one interface, with resource controls and reports on work contributed. The current project list with descriptions: <https://boinc.berkeley.edu/projects.php> – not every project runs on every platform, and some require a fast dedicated GPU.

## Before starting

- On laptops and desktop PCs, sustained CPU load raises power consumption and can reduce hardware lifespan.
- Cloud servers (Azure, AWS) are unsuitable: their billing is based on CPU time and data transfer – donating capacity there costs real money.
- A continuously running home server or Raspberry Pi is the natural host.

## Installation

**Manual**: installer from <https://boinc.berkeley.edu/download.php>, works on every common platform; can be configured to run as a screensaver so it only uses resources when the machine is idle.

**Container** (Docker Compose example):

```yaml
<span class="hljs-attr">services:</span>
  <span class="hljs-attr">boinc:</span>
    <span class="hljs-attr">image:</span> <span class="hljs-string">lscr.io/linuxserver/boinc</span>
    <span class="hljs-attr">hostname:</span> <span class="hljs-string">"boinc"</span>
    <span class="hljs-attr">container_name:</span> <span class="hljs-string">boinc</span>
    <span class="hljs-attr">environment:</span>
      <span class="hljs-bullet">-</span> <span class="hljs-string">PUID=1000</span>
      <span class="hljs-bullet">-</span> <span class="hljs-string">PGID=1000</span>
      <span class="hljs-bullet">-</span> <span class="hljs-string">TZ=Europe/Berlin</span>
      <span class="hljs-bullet">-</span> <span class="hljs-string">PASSWORD=xxx</span>
    <span class="hljs-attr">volumes:</span>
      <span class="hljs-bullet">-</span> <span class="hljs-string">./config:/config</span>
    <span class="hljs-attr">restart:</span> <span class="hljs-string">unless-stopped</span>
    <span class="hljs-attr">logging:</span>
      <span class="hljs-attr">options:</span>
        <span class="hljs-attr">max-size:</span> <span class="hljs-string">"10m"</span>
        <span class="hljs-attr">max-file:</span> <span class="hljs-string">"3"</span>
    <span class="hljs-attr">networks:</span>
      <span class="hljs-bullet">-</span> <span class="hljs-string">dmz</span>
    <span class="hljs-attr">deploy:</span>
      <span class="hljs-attr">resources:</span>
        <span class="hljs-attr">limits:</span>
          <span class="hljs-attr">cpus:</span> <span class="hljs-number">1.00</span>
          <span class="hljs-attr">memory:</span> <span class="hljs-string">2048M</span>
<span class="hljs-attr">networks:</span>
  <span class="hljs-attr">dmz:</span>
    <span class="hljs-attr">external:</span> <span class="hljs-literal">true</span>
```

Notes on the compose file:

![BOINC web desktop](https://niklas-stephan.de/user/pages/wiki/03.software/boinc/02-boinc-screenshot.webp)

- `deploy – resources – limits` caps what the container may use; one CPU unit equals one thread (1.00 of 8 threads = 12.5%). Resource limits can also be set inside BOINC itself – the compose cap is a belt-and-braces measure.
- A port mapping is only needed without a reverse proxy; then the instance is reachable on that host port.
- Set `PASSWORD` – it protects the virtual desktop served in the browser. The login user is hard-set to `abc`.

## Usage

Start the application (or open the web desktop in container mode), attach to the projects of interest, and the work units run on their own; no further interaction is required. Contributions are visible in the program's reports or on each project's page, where a participation certificate can be generated.

 sciencedistributed-computing

---

## Navigation

- Parent: [Software](https://niklas-stephan.de/en/wiki/software.md)
- Next: [Databases](https://niklas-stephan.de/en/wiki/software/datenbanken.md)
