HUB
Sign inSign up

netyield/peer-client

By netyield

•Updated about 1 month ago

Share unused bandwidth with NetYield. Lightweight Linux client for AMD64 and ARM64.

Image
0

1.3K

netyield/peer-client repository overview

⁠NetYield Peer Client

Share eligible unused internet bandwidth with NetYield using the native Linux CLI.

Website: https://netyield.io⁠

⁠Supported platforms

PlatformDevices
linux/amd6464-bit Intel/AMD Linux servers, PCs and VPS
linux/arm6464-bit ARM servers and SBCs with a 64-bit OS

Docker automatically selects the correct architecture. ARMv7/32-bit ARM is not included.

⁠Quick start

  1. Sign in at https://netyield.io⁠ and copy your provider API key from your dashboard.
  2. Run the container with a persistent volume:
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.

⁠Configuration

SettingPurpose
NETYIELD_API_KEYProvider API key for enrollment
NETYIELD_API_KEY_FILERead the key from a mounted file; takes precedence over the environment key
/var/lib/netyieldPersist device credentials with a named volume
--name NAMEOptional 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

⁠Tags and updates

  • 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

⁠Troubleshooting

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.

⁠Build provenance

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⁠

Tag summary
Recent tags
Content type
Image
Digest
sha256:2c0b7bde1…
Size
6.2 MB
Last updated
about 1 month ago
docker pull netyield/peer-client:latest