Share unused bandwidth with NetYield. Lightweight Linux client for AMD64 and ARM64.
1.3K
Share eligible unused internet bandwidth with NetYield using the native Linux CLI.
Website: https://netyield.io
| Platform | Devices |
|---|---|
| linux/amd64 | 64-bit Intel/AMD Linux servers, PCs and VPS |
| linux/arm64 | 64-bit ARM servers and SBCs with a 64-bit OS |
Docker automatically selects the correct architecture. ARMv7/32-bit ARM is not included.
docker run -d \
--name netyield \
--restart unless-stopped \
--hostname netyield-docker \
-e NETYIELD_API_KEY=YOUR_API_KEY \
-v netyield-data:/var/lib/netyield \
--read-only --tmpfs /tmp:size=16m,mode=1777 \
--cap-drop ALL --security-opt no-new-privileges:true \
--log-opt max-size=10m --log-opt max-file=3 \
netyield/peer-client:latest
docker logs --tail 100 -f netyield
No inbound published ports, host network, privileged mode or Docker socket are needed. The client needs outbound network access, DNS and HTTPS with working CA certificates. Actual earnings depend on eligible traffic and network demand.
| Setting | Purpose |
|---|---|
| NETYIELD_API_KEY | Provider API key for enrollment |
| NETYIELD_API_KEY_FILE | Read the key from a mounted file; takes precedence over the environment key |
| /var/lib/netyield | Persist device credentials with a named volume |
| --name NAME | Optional client device name |
Explicit CLI arguments can be appended to the image name, including --apikey.
The client reuses /var/lib/netyield/device-credentials.json on later starts.
Use a separate volume per running device. Keep that file private. Removing the
volume removes the device's stored identity. Existing volumes/bind mounts must
be writable by UID/GID 10001:10001. New named volumes get the image directory ownership.
Environment variables and CLI arguments are visible to Docker administrators. For a file-mounted key, ensure UID 10001 can read the file and run:
docker run -d --name netyield --restart unless-stopped \
-e NETYIELD_API_KEY_FILE=/run/secrets/netyield-api-key \
--mount type=bind,src=/absolute/path/netyield-api-key,dst=/run/secrets/netyield-api-key,readonly \
-v netyield-data:/var/lib/netyield \
netyield/peer-client:latest
latest: the most recently published image from this repository.15.64.12.12-docker.1: initial container package, with client v15.64.12.12.The CLI version comes from the published Linux binaries; it is separate from the website version. Images do not update themselves. To update while retaining the device identity:
docker pull netyield/peer-client:latest
docker stop netyield
docker rm netyield
# Repeat your original docker run command with the SAME volume and settings.
If you use the supplied Compose file:
docker compose pull
docker compose up -d
docker run --rm netyield/peer-client:latest --version
docker run --rm netyield/peer-client:latest --help
docker logs --tail 200 netyield
Check your API key, outbound connectivity and volume permissions if enrollment fails. A running process alone does not confirm a connected device: check client logs and your NetYield dashboard. No misleading network healthcheck is included.
This image packages the publicly downloadable NetYield CLI binaries from
https://netyield.io/downloads. The distribution package includes the original
AMD64 and ARM64 binaries and their pinned SHA-256 checksums. It builds on Alpine,
includes CA certificates and runs as UID/GID 10001:10001. The final build executes
--version through the container entrypoint for each target architecture.
This is the single-device Peer Client, not the KYC-gated Fleet Provider. NetYield's service terms apply: https://netyield.io/terms
docker pull netyield/peer-client:latest