Sign inSign up

techroy23/docker-antgain

By techroy23

•Updated 3 days ago

Image
0

10K+

techroy23/docker-antgain repository overview

⁠AntGain Docker Image

A minimal Ubuntu Linux based Docker image that automatically downloads and runs the AntGain.

DockerHubGitHubInvite
Docker HubGitHub RepoInvite Link

⁠Features

  • Lightweight Ubuntu Linux base image.
  • Proxy support via Redsocks (TBA).

⁠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
PROXYOptionalExternal proxy endpoint in the form host:port.
XXXYYYZZZRequiredReplace this with your API key, which can be found at https://antgain.app/dashboard/settings⁠.

⁠Run

docker run -d \
  --name=antgain \
  --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 PROXY=123.456.789.012:34567 \
  techroy23/docker-antgain:latest XXXYYYZZZ
⁠https://link.antgain.app/OC55988U⁠

Tag summary

Content type

Image

Digest

sha256:d4c690fde…

Size

42 MB

Last updated

3 days ago

docker pull techroy23/docker-antgain