# warp-docker

> warp-docker runs the official Cloudflare WARP client in Docker as a SOCKS5/HTTP proxy or NAT gateway with WARP+, Zero Trust, and MASQUE support.

- **Category:** VPN
- **Licence:** GPL-3.0
- **Latest version:** 2023-07-18
- **Open source:** oss
- **Languages:** Shell, Dockerfile
- **Platforms:** Docker, Docker Compose, Podman
- **Tags:** Proxy, VPN, Zero Trust, Socks5, Http Proxy, Docker, Cloudflare Warp, Masque, Nat Gateway, Warp Connector

## Description

warp-docker runs the official Cloudflare WARP VPN client inside a Docker container. It exposes a SOCKS5 and HTTP proxy on port 1080 via GOST so other containers or the host can send traffic through Cloudflare's network. It supports WARP+ license keys, Cloudflare Zero Trust enrollment, MASQUE protocol, and can also operate as a NAT gateway for layer-3 traffic routing. The image is published on Docker Hub as caomingjun/warp with versioned tags matching WARP and GOST releases, plus a slim Debian variant. Configuration is done via environment variables for sleep time, license key, GOST arguments, NAT mode, and host connectivity fixes. The project is licensed under GPL-3.0 and actively maintained.

## Links

- [Homepage](https://github.com/cmj2002/warp-docker)
- [Docker](caomingjun/warp)
- [GitHub Repository](https://github.com/cmj2002/warp-docker)
- [Docker Hub](https://hub.docker.com/r/caomingjun/warp)
- [Blog Post](https://blog.caomingjun.com/run-cloudflare-warp-in-docker/en/)

---
Source: https://selfhost.directory/project/warp-docker