Sockguard: a YorvoGate alternative
Sockguard is a YorvoGate alternative for teams that want body-inspecting Docker API policy. YorvoGate (Apache-2.0, first released November 2026) scopes each client to its own Compose project. YorvoGate v0.5.0 adds approvals for requests within a second, wider scope policy, signed webhook notifications, and scope expiry with optional cleanup of owned objects. Sockguard v3.2.0 supports explicitly configured hold rules and single-use approvals on a dedicated Unix or mutual TLS admin listener. This comparison uses the projects' documentation. YorvoGate v0.5.0 release notes
Feature Comparison
Here's how we compare on the features that matter most.
| Feature | YorvoGate | Sockguard |
|---|---|---|
| Method + path filtering | On par: Yes (endpoint groups on trusted listeners, per-endpoint rules per scope) | On par: Yes |
| Request body inspection | On par: Yes (bodies decoded into the Docker Engine's own types, unknown fields refused) | On par: Yes (12+ resource types) |
| Query-string rule matching | On par: Yes (per-endpoint query parameter allowlist, any other refused) | On par: Yes (per-key match.query) |
| Per-client policies | On par: Yes (scopes by token, client certificate or own socket, optional peer user) | On par: Yes (CIDR + labels + cert selectors incl. SPKI + unix peer) |
| Resource owner labels | On par: Yes (per-scope owner label and name prefixes) | On par: Yes (workload + control plane) |
| Remote TCP mTLS (listener) | On par: Yes (TLS 1.3, mTLS required off loopback) | On par: Yes (TLS 1.3) |
| Remote daemon upstream (TLS) | Weaker: No (upstream must be a unix socket) | Stronger: Yes (active/passive failover) |
| Read-side visibility / redaction | Weaker: Partial (lists limited to the scope's own objects; info and version are allow-lists) | Stronger: Yes (visibility rules + JSON field redaction) |
| Prometheus metrics | On par: Yes (admin listener, loopback or unix socket) | On par: Yes (opt-in, socket-proxy request metrics) |
| Rate limits / concurrency caps | Weaker: Partial (per-scope request and connection caps) | Stronger: Yes (per-profile token-bucket) |
| Rollout modes (enforce / warn / audit) | Weaker: No (none documented at v0.5.0) | Stronger: Yes (per-profile shadow mode) |
| Operator approval of held requests | On par: Yes (bounded scope policy, single-use approvals, Unix admin socket) | On par: Yes (opt-in: hold rules, digest-bound single-use approvals, CLI) |
| Signed policy bundles | Weaker: No (releases are cosign-signed, policy bundles are not documented) | Stronger: Yes (cosign keyed + keyless, Rekor) |
| Container image trust | Weaker: Partial (pull registry and platform allowlists, image load name checks, no signature verification documented) | Stronger: Yes (cosign + enforce / warn modes) |
| Podman native libpod API | Weaker: No (not documented, certified for Docker Engine 29 only) | Stronger: Yes (default-deny /libpod coverage) |
| Tecnativa env compat | NoYorvoGate does not offer this | Stronger: Yes |
| Config simplicity | On par: Per-scope JSON files plus one YAML file | On par: Full YAML config |
Claims on this page were checked 2026-12-04 against YorvoGate v0.5.0. Re-checked at every release cut.
Key Differentiators
What we built that YorvoGate doesn't cover.
Different Models
YorvoGate gives each caller a scope (a Compose project, by token header, dedicated socket or client certificate) on a scoped listener, and keeps trusted listeners for endpoint groups. Sockguard uses ordered rules and per-client profiles. Which fits depends on whether you think in tenants or in rules.
Signed Policy Bundles
Sockguard verifies policy files with cosign keyed or keyless signatures and Rekor inclusion. YorvoGate signs its releases, and its documentation describes no signed policy files.
Container Image Trust
Sockguard can enforce image signatures on container and service creates. YorvoGate limits pull registries and platforms and checks names in loaded image archives, and documents no signature verification.
Rollout Modes
Sockguard's per-profile rollout modes (enforce / warn / audit) let you shadow-test strict rules before they block anything. YorvoGate's documentation describes no such mode.
Remote Upstream and Podman
Sockguard can reach a remote TLS daemon with failover and covers the libpod API. YorvoGate takes a unix-socket upstream and documents certification for Docker Engine 29 only.
Scope Isolation
YorvoGate documents per-scope request, connection and image-load bounds, and answers another scope's objects as Docker answers objects that don't exist. Sockguard's per-profile limits and owner labels cover similar ground, and we haven't compared the two under load.
Coming from YorvoGate?
There's no automatic translation. A YorvoGate scope (token hash, owner label, name prefixes) maps to a Sockguard client profile with an owner label, and its trusted-listener endpoint groups map to rule blocks. Sockguard's policy model is rule lists, so expect to rewrite the scope files by hand and to start from a bundled preset. YorvoGate documents Docker Engine 29 as its only certified major, so check your daemon version on either side.
$ docker run -d \
--name sockguard \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v /var/run/sockguard:/var/run/sockguard \
-e SOCKGUARD_LISTEN_SOCKET=/var/run/sockguard/sockguard.sock \
codeswhat/sockguardReady to try Sockguard?
Default-deny, MIT, no SaaS required. Drop it in front of your socket in minutes.