The Docker image runs the Netrinos client in a container. We built it
for NAS boxes and other Linux machines where installing the native
package is awkward or not allowed. The image is
netrinosnet/netrinos on Docker Hub, for amd64 and arm64.
It needs Docker on Linux. It does not work under Docker Desktop on Windows or macOS. If you can install the native Linux package, use that instead. It updates itself and the container does not.
The quickest way is the compose file. Download compose.yaml into an empty folder and run:
docker compose up -d
A compose file describes the container and every setting it needs, so pasting it in sets them all at once. Most NAS container apps take it, under different names: an Application in QNAP Container Station, a Project in Synology Container Manager, a Stack in Portainer. Use that rather than a form for a single container.
Your login is kept in a Docker volume named netrinos,
in Docker's own storage. Recreating or updating the container leaves it
in place. Do not point the volume at a folder inside the application's
own folder: QNAP Container Station deletes that folder when it
recreates the application, and your login with it.
If you prefer docker run:
docker run -d --name netrinos --network host --cap-add NET_ADMIN --device /dev/net/tun -v netrinos:/etc/netrinos --restart unless-stopped --stop-timeout 30 netrinosnet/netrinos:latest
If your container app uses a form instead, you will need host
networking, the NET_ADMIN capability, the
/dev/net/tun device, a Docker volume named
netrinos mounted at /etc/netrinos, and the restart policy set to "unless
stopped". Some apps have no fields for capabilities or devices. In that
case, turn on privileged mode.
The container starts logged out. Open a console in it with
docker exec -it netrinos sh, or with the console button in
your container app, and run netrinos login.
If you cannot get a console, use an invitation instead. In the
portal, go to Devices, click Invite a Device, and pass the
code to the container in the NETRINOS_INVITE environment
variable. The code works once and expires after an hour.
Run netrinos status to check that it joined. It shows
your account and your other devices.
Netrinos cannot update itself inside a container. You have to pull
the new image and recreate the container. netrinos status
will tell you when an update is available. Your login is kept in the
netrinos volume, so you do not need to log in again. With
compose:
docker compose pull && docker compose up -d
latest | The current release. Use this one. |
1.3.4 | A specific release |
beta | The next release, if you want to try it early |
daily | Test builds. Do not use these in production. |
Contact us if you cannot get it going and we will try to help.
| Name | Size | Modification Time |
|---|---|---|
| .. | - | |
| compose.yaml | 645 B | 2026-11-07 15:52:11 |
| v1.3.4-docker-release-notes.html | 10.4 KB | 2026-11-07 20:48:01 |
| v1.3.4-docker-release-notes.md | 5.5 KB | 2026-11-07 20:48:01 |