Diff -- /var/www/vhosts/3dshawn.com/site1/TEMPLATES/containers.html
Diff
/var/www/vhosts/3dshawn.com/site1/TEMPLATES/containers.html
added on local at 2026-07-10 18:57:31
Added
+32
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to 03f3e7587804
to 03f3e7587804
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.| 1 | <div class="page-head"> | |
| 2 | <span class="page-eyebrow"><span class="dot"></span> Configure</span> | |
| 3 | <h1 class="page-title">Containers</h1> | |
| 4 | <p class="page-subtitle">Docker containers DriftSense watches by reading their OverlayFS <code>upper</code> layer on the host. Zero in-container agent needed. When someone <code>docker exec</code>s in and edits a file, we see it here.</p> | |
| 5 | </div> | |
| 6 | ||
| 7 | <div class="module glow-amber" style="margin-bottom:16px"> | |
| 8 | <div class="module-head"><div class="left"> | |
| 9 | <div class="module-icon"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"/></svg></div> | |
| 10 | <div class="module-title">How container awareness works</div> | |
| 11 | <span class="module-subtitle">Compliance-friendly, low-friction, host-only.</span> | |
| 12 | </div></div> | |
| 13 | <div class="module-body"> | |
| 14 | <p style="color:var(--text-dim);font-size:13.5px;margin:0 0 8px">Every Docker container has a diff dir on the host at <code>/var/lib/docker/overlay2/<id>/diff/</code> containing every file it's changed since starting. DriftSense reads that directory from the host with no container intrusion, no privilege escalation inside the image, no networking dance.</p> | |
| 15 | <p style="color:var(--text-dim);font-size:13.5px;margin:0">Pair that with the Docker socket for name mapping and you get complete change visibility across a containerized fleet from a single privileged process on the host. <strong>Enable</strong> in <a href="[url:settings]" style="color:var(--accent-hi)">Settings</a> → Docker awareness.</p> | |
| 16 | </div> | |
| 17 | </div> | |
| 18 | ||
| 19 | <div class="module glow-teal"> | |
| 20 | <div class="module-head"><div class="left"><div class="module-title">Known containers</div><span class="module-subtitle">$total total (running + stopped, most recent first).</span></div></div> | |
| 21 | <div class="module-body tight"> | |
| 22 | [if:$has_rows] | |
| 23 | <table class="tbl"> | |
| 24 | <thead><tr><th style="width:90px">Status</th><th>Container</th><th>Image</th><th style="width:100px">Server</th><th style="width:110px">Monitor</th><th style="width:130px">Started</th></tr></thead> | |
| 25 | <tbody> | |
| 26 | [loop:@rows]<tr><td><span class="pill $status_pill">$status_lbl</span></td><td><strong>$container_name</strong><div class="mono dim" style="font-size:11px">$container_short</div></td><td class="mono dim" style="font-size:11.5px">$image</td><td class="dim">$server_name</td><td><span class="pill $monitor_pill">$monitor_lbl</span></td><td class="mono dim">$started_h</td></tr>[/loop] | |
| 27 | </tbody> | |
| 28 | </table> | |
| 29 | [/if] | |
| 30 | [if:!$has_rows]<div style="padding:36px 14px;text-align:center;color:var(--text-dim);font-size:13.5px">No containers detected. Enable Docker awareness in <a href="[url:settings]" style="color:var(--accent-hi)">Settings</a> to discover running containers on the host.</div>[/if] | |
| 31 | </div> | |
| 32 | </div> |