A minimal Alpine based Docker image for running the PacketSDK.
| DockerHub | GitHub | Invite |
|---|---|---|
- Lightweight Alpine Linux base image.
- Configurable environment variable (
APPKEY). - Multi‑arch support:
amd64andarm64. - Auto‑update support with
--pull=always. - Proxy support via Redsocks.
- 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| Variable | Requirement | Description |
|---|---|---|
APPKEY |
Required | Your PacketSDK key. Container exits if not provided. |
PROXY |
Optional | External proxy endpoint in the form host:port. |
docker run -d \
--name=packetsdk \
--pull=always \
--restart=always \
--privileged \
--log-driver=json-file \
--log-opt max-size=5m \
--log-opt max-file=3 \
-e APPKEY=PACKETSDK_KEY \
-e PROXY=123.456.789.012:34567 \
techroy23/docker-packetsdk:latest