Sign inSign up

techroy23/docker-castarsdk

By techroy23

Updated 5 months ago

Image
1

10K+

techroy23/docker-castarsdk repository overview

CastarSDK Docker Image

A minimal Alpine based Docker image for running the CastarSDK.

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 CastarSDK key. Container exits if not provided.
PROXYOptionalExternal proxy endpoint in the form host:port.

Run

docker run -d \
  --name=castarsdk \
  --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=AbCdEfGhIjKLmNo \
  -e PROXY=123.456.789.012:34567 \
  techroy23/docker-castarsdk:latest
https://www.castarsdk.net/register?c=c5b7ba22

Tag summary

Content type

Image

Digest

sha256:daf900cc7

Size

14 MB

Last updated

5 months ago

docker pull techroy23/docker-castarsdk