monius/docker-warp-socks

By monius

Updated 5 days ago

Easy connection to CloudFlare WARP and exposing `socks5` proxy, all together!

Image
Networking
Security
Machine learning & AI
16

100K+

monius/docker-warp-socks repository overview

Docker-Warp-Socks

CI Status CI Status Docker Pulls Code Size License: GPL v3 Open Issues Visitors

A lightweight Docker image, designed for easy connection to CloudFlare WARP, exposing socks5 proxy all together.

Multi-platform: linux/amd64, linux/arm64, linux/arm, linux/ppc64le, linux/s390x and linux/riscv64


Quick start v5 via GHCR

docker run --restart=always -itd \
    --name warp_socks_v5 \
    -p 9091:9091 \
    ghcr.io/mon-ius/docker-warp-socks:v5

Note

Verify the success, if `warp=on` shown with `curl`
curl -x "socks5h://127.0.0.1:9091" -fsSL "https://www.cloudflare.com/cdn-cgi/trace"
curl -x "http://127.0.0.1:9091" -fsSL "https://www.cloudflare.com/cdn-cgi/trace"

V5 Features

  • Rich support for most linux family systems, including arm, arm64, ppc64le, s390x and riscv64, etc.
  • Light start without NET_ADMIN, SYS_MODULE, /lib/modules, and extra net deps.
  • More secure Bootstrap without privileged acquisition in docker container.
  • Support lastest SagerNet/sing-box v1.11.x version with action feature enabled.
  • Support for mixed http, https, and socks protocols on the default port 9091
  • Light core with alpine linux 3.22.
  • Easy networking between containers.
  • Used call Google Gemini-Diffusion, Google Gemini 2.5 Pro, Google Gemini 2.5 Flash thinking and Google Gemini 2.5 Pro(Deep Thinking) API.
  • Used call OpenAI-GPT5, ChatGPT-4o, ChatGPT-4.1, OpenAI-o1, OpenAI-o3, OpenAI-o3-mini, OpenAI-o1-pro and OpenAI-Sora API.
  • Used call Grok-4, and Grok-3 API.
  • Used call Claude 4 Sonnet and Claude 4 Opus API.
  • Used call DeepSeek V3 and DeepSeek R1 API.
  • Used call Moonshot Kimi K2 API.
  • Used call Minimax M1 API.
  • Support GHCR for more Security and Flexibility.

Migrate to v5

  • The v2 version will be kept and available at monius/docker-warp-socks:v2.
  • The v3 version will be kept and available at monius/docker-warp-socks:v3.
  • The v4 version will be kept and available at monius/docker-warp-socks:v4.
  • Due to the Cloudflare Policy, we dont provide option for input license any more on v5.
Source
Credits

Tip

Prerequisites for use `docker-warp-socks` v5 without root permission!
# in case, you have no docker-ce installed;
curl -fsSL "https://get.docker.com" | sudo bash

# to avoid `sudo` calling
sudo usermod -aG docker ${USER}
sudo chmod 666 /var/run/docker.sock
sudo chown root:docker /var/run/docker.sock
# or check https://docs.docker.com/engine/security/rootless 
# if required a rootless install with `dockerd-rootless-setuptool.sh install`

# in case, using Centos/RedHatEL
sudo systemctl enable docker && sudo systemctl start docker

Notice of Non-Affiliation and Disclaimer

We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Cloudflare, or any of its subsidiaries or its affiliates. The official Cloudflare website can be found at https://www.cloudflare.com.

visitor

Tag summary

Content type

Image

Digest

sha256:7ffd8f55c

Size

18 MB

Last updated

over 1 year ago

docker pull monius/docker-warp-socks