Sign inSign up

techroy23/docker-packetsdk

By techroy23

Updated 5 months ago

Image
1

10K+

techroy23/docker-packetsdk repository overview

PacketSDK Docker Image

A minimal Alpine based Docker image for running the PacketSDK.

DockerHubGitHubInvite
Docker HubGitHub RepoInvite Link

Features

  • Lightweight Alpine Linux base image.
  • Configurable environment variable (APPKEY).
  • Multi‑arch support: amd64 and arm64.
  • Auto‑update support with --pull=always.
  • Proxy support via Redsocks.

Usage

  • Before running the container, increase socket buffer sizes (required for high‑throughput streaming).
  • To make these settings persistent across reboots, add them to /etc/sysctl.conf or a drop‑in file under /etc/sysctl.d/.
sudo sysctl -w net.core.rmem_max=8000000
sudo sysctl -w net.core.wmem_max=8000000

Environment variables

VariableRequirementDescription
APPKEYRequiredYour PacketSDK key. Container exits if not provided.
PROXYOptionalExternal proxy endpoint in the form host:port.

Run the container:

docker run -d \
  --name=packetsdk \
  --cpus=0.25 --pull=always --restart=always \
  --log-driver=json-file --log-opt max-size=1m --log-opt max-file=1 \
  --cap-add=NET_ADMIN --cap-add=NET_RAW --sysctl net.ipv4.ip_forward=1 \
  -e APPKEY=PACKETSDK_KEY \
  -e PROXY=123.456.789.012:34567 \
  techroy23/docker-packetsdk:latest
https://pkdsdk.com/?r=L2kDofIF

Tag summary

Content type

Image

Digest

sha256:aa3876d63

Size

14 MB

Last updated

5 months ago

docker pull techroy23/docker-packetsdk