A lightweight Docker image, designed for easy connection to CloudFlare WARP, exposing
socks5
proxy all together.
Multi-platform: linux/arm
, linux/arm64
, linux/amd64
, linux/ppc64le
, linux/s390x
and linux/riscv64
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"
- Rich support for most linux family systems, including
arm
,arm64
,ppc64le
,s390x
andriscv64
, etc. - Light start without
NET_ADMIN
,SYS_MODULE
,/lib/modules
, and extranet
deps. - More secure Bootstrap without
privileged
acquisition in docker container. - Support lastest
SagerNet/sing-box
v1.11.x version withaction
feature enabled. - Support for mixed
http
,https
, andsocks
protocols on the default port9091
- 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
andGoogle 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
andOpenAI-Sora
API. - Used call
Grok-4
, andGrok-3
API. - Used call
Claude 4 Sonnet
andClaude 4 Opus
API. - Used call
DeepSeek V3
andDeepSeek R1
API. - Used call
Moonshot Kimi K2
API. - Used call
Minimax M1
API. - Support
GHCR
for more Security and Flexibility.
- The
v2
version will be kept and available atmonius/docker-warp-socks:v2
. - The
v3
version will be kept and available atmonius/docker-warp-socks:v3
. - The
v4
version will be kept and available atmonius/docker-warp-socks:v4
. - Due to the Cloudflare Policy, we dont provide option for input license any more on
v5
.
- WireGuard
- Mon-ius/Docker-Warp-Socks
- Cloudflare WARP
- SagerNet/sing-box
- ViRb3/wgcf
- Neilpang/wgcf-docker
- Wireguard-Socks-Proxy
- WARP exlude config
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
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.
Caution
- To prune all docker containers and images
docker rm -f $(docker ps -a -q) && docker rmi -f $(docker images -a -q)