Cloud C2 (Hak5) β Minimal, Distroless, Non-Root, K8s-Ready
1.2K
Minimal, distroless runtime for Hak5 Cloud CΒ², built via multi-stage Dockerfile. A tiny Go entrypoint maps environment variables β C2 flags, so you can configure entirely with env vars. Runs non-root, stores the DB at /data (PVC-friendly), and works great behind Traefik or any reverse proxy.
You are responsible for Hak5 licensing/EULA. This image downloads the official C2 binary during build; no binaries are shipped in this repo.
/data/c2.db (bind mount or PVC)latest β current stable (e.g., 3.5.0)3.5.0 β pinned release-amd64/-arm64 suffixes if published.)# pull
docker pull joshuapfritz/hak5c2:3.5.0
# run (HTTP on 8080, SSH relay on 2022)
docker run -d --name cloudc2 \
-p 8080:8080 -p 2022:2022 \
-v c2-data:/data \
-e fqdn=localhost \
--restart unless-stopped \
joshuapfritz/hak5c2:3.5.0
Source & Docs
Content type
Image
Digest
sha256:f81211128β¦
Size
7 MB
Last updated
10 months ago
docker pull joshuapfritz/hak5c2