A minimal Ubuntu Linux based Docker image that automatically downloads and runs the AntGain.
sudo sysctl -w net.core.rmem_max=8000000
sudo sysctl -w net.core.wmem_max=8000000
| Variable | Requirement | Description |
|---|---|---|
PROXY | Optional | External proxy endpoint in the form host:port. |
XXXYYYZZZ | Required | Replace this with your API key, which can be found at https://antgain.app/dashboard/settings. |
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
Content type
Image
Digest
sha256:75191178a…
Size
46.4 MB
Last updated
6 days ago
docker pull techroy23/docker-antgain