advancedScenario-Based & System Design Questions

A production container is found running with `--privileged` mode enabled, and nobody on the current team remembers why.

This is a significant, likely unnecessary security exposure — `--privileged` grants nearly all host capabilities and device access, far beyond what almost any application legitimately needs. Investigate whether it was added to work around a specific narrower requirement (e.g., needing a particular capability or device access) that could instead be granted via a scoped `--cap-add` or specific `--device` flag, and remove the blanket privileged flag once the actual minimal requirement is identified and substituted.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.

A production container is found running with `--privileged` mode enabled, and nobody on the current team remembers why.

Next Step

Continue to A team's centralized logging pipeline shows a sudden, large gap with no logs at all from a specific service for several hours, even though the service was confirmed to be running and serving traffic during that window.← Back to all Docker questions