Docs menu
Docs Reference
Docker local proxy
A local proxy with no login for Chrome, Selenium and other tools that can't send proxy credentials.
Last verified: October 2026What it does
The proxmint/local-proxy image runs an HTTP proxy with no login. Tools that can’t send a proxy username and password, such as Chrome’s --proxy-server flag, Selenium and many desktop apps, point at it. It adds your proxy login and targeting to each request and passes it to the gateway. HTTPS goes through as an encrypted tunnel, so TLS runs end to end between the tool and the site.
The image is on Docker Hub for linux/amd64 and linux/arm64. The proxy is one file of JavaScript with no dependencies, and uses the bandwidth of your own product.
Run it
Create an API key under Settings in the dashboard (the same read-only key the customer API uses), then start the container:
The key reads the product’s proxy login when the container starts. You can set PROXMINT_USERNAME and PROXMINT_PASSWORD from your product page instead. Check the exit IP:
Chrome and Selenium
Chrome’s --proxy-server flag takes no username or password, so point it at the container:
With Selenium in Docker Compose, Chrome reaches the proxy by its service name:
Settings
Set these as environment variables on the container:
| Variable | Default | What it does |
|---|---|---|
PROXMINT_API_KEY | none | API key from the dashboard. Reads the product's proxy login at start-up. |
PROXMINT_PRODUCT | residential | residential, premium-residential, datacenter or mobile. |
PROXMINT_USERNAME, PROXMINT_PASSWORD | none | The proxy login from your product page, instead of an API key. |
PROXMINT_COUNTRY | any | Exit country as a two-letter code. |
PROXMINT_STATE, PROXMINT_CITY, PROXMINT_ZIP, PROXMINT_ASN | none | Finer targeting inside the country. Needs a country. |
PROXMINT_STICKY | 0 | Keep one exit IP for 1 to 120 minutes. 0 gives every connection a new IP. |
PORT | 8080 | The port the proxy listens on inside the container. |
For several locations at once, run one container per location, each on its own port.
Keep it private
Anyone who can reach the port spends your bandwidth. The proxy answers only this machine, Docker networks and private networks (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10 and fc00::/7) and turns other addresses away, even when the port is published. Publish it on 127.0.0.1 as above to keep it off your network altogether, and pass the key with --env-file to keep it out of your shell history.
Good to know
- When the gateway refuses a request, for example because the product is out of bandwidth or no IP matches the targeting, your tool gets the gateway’s answer as it is (
407 NO_USER,503 NO_RAYand so on) anddocker logssays what to change. The error codes page lists them all. - State, city, ZIP and ASN targeting can meter at twice the bandwidth; the targeting page says which products.
- Pages load over the destination ports the network forwards, which cover the usual web ports (see port access). A short list of sites is refused outright (see blocked websites).
- Each product allows up to 2,000 concurrent connections through the proxy.
- The login is read once at start-up. Restart the container after you change the proxy password, or to get a new sticky IP.