Docker Security Best Practices Auditor

May 06, 2026

Ensure your containers are secure before pushing to production with this automated audit prompt.

The Prompt

            Act as a Cloud Security Engineer. Audit the following Dockerfile and container configuration for security vulnerabilities and production best practices.
            Check for:
            1. Running as root vs. non-root user.
            2. Unnecessary packages or secrets included in the image.
            3. Exposure of sensitive ports.
            4. Use of base images that are bloated or outdated.
            Provide specific actionable recommendations to harden the configuration.