is-acquisition9 min read

Containerization Security: Docker and Kubernetes

Learn about container security for Docker and Kubernetes environments. Essential CISA exam knowledge for modern IS acquisition and deployment.

CISAPractice|

Containerization Overview

Containerization packages applications and their dependencies into portable, isolated units called containers. Docker is the most widely used container runtime, and Kubernetes is the leading container orchestration platform. For CISA candidates, understanding container security is important because containers are increasingly used to deploy enterprise applications and introduce distinct security considerations.

Container Security Layers

Container security must be addressed at multiple layers:

  • Image security: Container images are the blueprints from which containers are created. Security considerations include using trusted base images from verified registries, scanning images for vulnerabilities before deployment, minimizing image size by including only necessary components, and avoiding hardcoded secrets in images.
  • Registry security: Container registries store and distribute images. Controls include access controls on who can push and pull images, image signing to verify authenticity, vulnerability scanning of stored images, and retention policies to remove outdated images.
  • Runtime security: Running containers require protection through resource limits (CPU, memory, storage) to prevent denial of service, read-only file systems where possible, non-root user execution, network policies that restrict container communication, and seccomp profiles and AppArmor or SELinux policies that limit system calls.
  • Orchestration security: Kubernetes clusters require role-based access control (RBAC) for API access, network policies for pod-to-pod communication, secrets management for sensitive configuration data, pod security standards that enforce container restrictions, and audit logging for cluster activities.

Container-Specific Risks

Containers introduce unique security risks:

  • Container escape: Attackers who compromise a container may attempt to break out of the container isolation and access the host system.
  • Vulnerable dependencies: Container images often include numerous libraries and packages, each potentially containing vulnerabilities.
  • Configuration drift: Containers may be modified at runtime, diverging from their intended configuration.
  • Orchestration misconfiguration: Kubernetes misconfigurations (such as overly permissive RBAC roles or exposed dashboards) are a common source of security incidents.

Container Security Best Practices

Organizations should implement these practices for container security: build images from minimal base images, scan images in the CI/CD pipeline before deployment, use immutable containers that are replaced rather than modified, implement network segmentation between container workloads, manage secrets through dedicated secrets management tools, and monitor container behavior for anomalies.

Auditing Container Environments

IS auditors should evaluate container environments by reviewing image management practices and vulnerability scanning, assessing orchestration platform security configurations, verifying network segmentation and access controls, evaluating secrets management practices, and confirming that monitoring and logging cover container activities.

CISA Exam Focus

For the CISA exam, understand the security layers of containerized environments and the key controls at each layer. Know the common risks and how to evaluate container security maturity. Questions may present container deployment scenarios and ask about appropriate security controls or audit findings.

Related Tags

IS AcquisitionContainerizationCISA ExamDockerKubernetes

Ready to practice?

Put this knowledge to work with scenario-based practice questions.

Start Free