wgcf Docker & Self-Hosted Deployment

GitHub

Cross-platform, unofficial CLI for Cloudflare Warp

8,251 stars Go Go 1 file ยท ~1,007 tokens #client#cloudflare#plus#security#vpn#warp#wireguard
1. Pull Image (DOCKERHUB) docker pull ViRb3/wgcf:latest
2. Docker Run (1-Click Launch) docker run -d --name wgcf --restart always virb3/wgcf:latest
3. Podman Run podman run -d --name wgcf --restart always virb3/wgcf:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/virb3/wgcf:latest
5. ORAS Pull (OCI Artifact) oras pull virb3/wgcf:latest
Dockerfile
FROM golang:1.27.0-alpine AS builder

WORKDIR /src
COPY . .

RUN apk add --no-cache git && \
    go mod download && \
    CGO_ENABLED=0 go build -ldflags="-s -w" -o "wgcf"

FROM alpine:3.24.2

WORKDIR /

COPY --from=builder "/src/wgcf" "/"

ENTRYPOINT ["/wgcf"]