Blog
Honeygain on a NAS with Docker: Step-by-Step Guide

TL;DR
- Honeygain pays credits for sharing unused internet bandwidth. How much you get depends on location, bandwidth and demand.
- A Docker container on your NAS runs 24/7 without a desktop PC.
- Setup takes a few minutes: create
docker-compose.yml→docker compose up -d→ check the dashboard. - Every command and file you need to rebuild it is in this guide.
Unused internet bandwidth can be turned into credits with Honeygain. This guide shows how to run Honeygain as a Docker container on a Synology DiskStation, a QNAP NAS or any device with Docker support. You do not need the desktop app, the container uses little memory and it is built to run all the time.
This guide is also available in German: Honeygain auf dem NAS mit Docker.
What is Honeygain?
Honeygain is a crowdsourcing platform that uses unused internet bandwidth through a distributed network. According to the provider, that traffic serves market research, brand protection and content delivery. The platform pays for the shared bandwidth in credits. You can request a payout once you reach the minimum set by Honeygain. The current conditions are on the provider’s site.
New to Honeygain? Sign up here. The current conditions for new customers are on the provider’s site.
Why run Honeygain as a Docker container on a NAS?
The regular Honeygain desktop app only runs while your computer is switched on. A Docker container on your NAS does more:
- runs 24/7 in the background, with no PC switched on
- uses only a little memory
- starts automatically after every NAS reboot
- updates with a single command
- runs isolated in its own container environment
Prerequisites
- A NAS with Docker support, such as a Synology DiskStation, a QNAP NAS or any Linux server with Docker
- Container Manager installed (Synology) or Docker Engine (other systems)
- A free Honeygain account
- SSH access to the NAS (optional, the web interface also works)
If Docker is not installed yet: open the Package Center on your DiskStation, search for “Container Manager” and install the package. On other systems, follow the official Docker installation instructions.
Step 1: Create the project directory
Connect to your NAS over SSH or use the Container Manager interface. Create the project directory:
mkdir -p /volume1/docker/honeygain
cd /volume1/docker/honeygain
Note: adjust the path /volume1/docker/honeygain to your NAS configuration. On a QNAP NAS the path could be /share/Container/honeygain. Use the path where your Docker volumes are stored.
Step 2: Create the docker-compose.yml
Create the file docker-compose.yml with this content:
version: '3.8'
services:
honeygain:
image: honeygain/honeygain:latest
container_name: honeygain
command:
- -tou-accept
- -email
- [email protected]
- -pass
- DEIN_PASSWORT
- -device
- mein-nas
restart: unless-stopped
networks:
- honeygain-net
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
honeygain-net:
driver: bridge
The placeholders stay in the code on purpose: replace [email protected] with your Honeygain email, DEIN_PASSWORT with your password and mein-nas with a unique name for this device.
Key parameters:
| Parameter | Description |
|---|---|
-tou-accept | Accepts the Honeygain Terms of Use |
-email | Your email address for the Honeygain login |
-pass | Your Honeygain password |
-device | Unique device name (for example mein-nas, synology-wohnzimmer) |
⚠️ Security note: keep credentials in a .env file. See the section below.
Step 3: Start the container
Start the container with:
docker compose up -d
You can also use the Container Manager interface: Project → Import → select docker-compose.yml → start.
Check the logs to see whether the container connected successfully:
docker compose logs honeygain
A successful output looks roughly like this:
Honeygain CLI v1.x.x
Logging in...
Login successful!
Starting Honeygain service...
Connected successfully!
Step 4: Check the Honeygain dashboard
Open your Honeygain dashboard and look under “Devices” to see whether your NAS appears as an active device. The device name matches the -device parameter (in the example: mein-nas).
Bonus: keep credentials in a .env file
To keep your email and password out of docker-compose.yml, use a .env file:
.env file:
[email protected]
HONEYGAIN_PASS=dein_passwort
HONEYGAIN_DEVICE=mein-nas
docker-compose.yml with variables:
version: '3.8'
services:
honeygain:
image: honeygain/honeygain:latest
container_name: honeygain
command:
- -tou-accept
- -email
- ${HONEYGAIN_EMAIL}
- -pass
- ${HONEYGAIN_PASS}
- -device
- ${HONEYGAIN_DEVICE}
restart: unless-stopped
networks:
- honeygain-net
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
honeygain-net:
driver: bridge
Bonus: automatic daily restart (optional)
To keep the Honeygain session active, you can restart the container once a day. Add this cron job on your NAS (crontab -e):
0 21 * * * docker restart honeygain
FAQ: Honeygain on a NAS with Docker
Can I run several Honeygain containers on one NAS?
Each container needs its own unique DEVICE_NAME. The Docker image does not allow two instances with the same device name at the same time. Devices that share a public IP address also share the traffic routed through that IP, and Honeygain applies a limit on devices per IP address. A second container on the same NAS therefore does not give you a fresh IP and does not bypass that limit.
How much can I earn with Honeygain on a NAS?
The payout depends on location, bandwidth and demand. Honeygain does not publish guaranteed earnings and nobody can predict a monthly amount reliably. More devices at different locations can raise the number of credits you collect. Whether that pays off, and by how much, depends on the current conditions and on demand.
Does the Docker container support Honeygain Content Delivery?
The CLI supports Content Delivery. Honeygain’s Terms of Use describe CD as an opt-in feature: your device earns credits while it stays connected to the CD servers, and only after you opt in and pass the queue. How many extra credits that brings depends on demand. Your NAS must run 24/7. Content Delivery shares bandwidth only, never storage.
Does this also work without Synology, on QNAP, Raspberry Pi or Ubuntu?
Yes. The official honeygain/honeygain Docker container runs on many systems with Docker Engine: QNAP NAS, Raspberry Pi with Docker, Ubuntu or Debian servers, Proxmox, Unraid, TrueNAS, anywhere docker compose up -d works.
My container does not start. What can I do?
- Check the logs:
docker compose logs honeygain - Is the email correct and is the password correct? Watch upper and lower case.
- Check the internet connection of the NAS.
- The
-devicename must be unique. Change it if there is a conflict. - On a “TLS handshake timeout” error, check the DNS server or set
8.8.8.8as the name server.
Conclusion: running Honeygain on a NAS with Docker
With this Docker setup Honeygain runs around the clock on your NAS and collects credits while the container is active, with no desktop PC left running. Setup takes a few minutes, the container uses little memory and runs on its own.
Synology DiskStation, QNAP NAS, Raspberry Pi or Linux server: with the official Honeygain Docker image and this guide you have a permanent setup in a few minutes that starts again automatically after every reboot.
No Honeygain account yet? Sign up now. The current conditions are on the provider’s site.
Disclosure: this article contains affiliate links (Amazon, Honeygain). If you buy through these links or sign up through them, I receive a small commission. There is no extra cost for you. Thank you for your support.


