Skip to content

Docker Bench Security hardening #1

Description

@AaronMcHale
  • Ensure containers are restricted from acquiring new privileges
  • Ensure memory usage for container is limited: Container running without memory restrictions
  • Ensure CPU priority is set appropriately on the container: Container running without CPU restrictions
  • Ensure incoming container traffic is binded to a specific host interface: Port being bound to wildcard IP: 0.0.0.0 in docker-php-drupal-template_nginx_1
  • Ensure 'on-failure' container restart policy is set to '5': MaximumRetryCount is not set to 5
  • Ensure the container is restricted from acquiring additional privileges
  • Add health checks
  • Container PID limit

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions