For the complete documentation index, see llms.txt. This page is also available as Markdown.

Yellow - Containers

Container security resources for Docker, Kubernetes, image scanning, runtime security, platform hardening, and authorized container testing.

This page covers container and Kubernetes operations, hardening, vulnerability scanning, DFIR, and authorized testing. Keep centralized logging strategy in Security Logging and generic vulnerability management tooling in Blue Defense unless the tool is container-specific.

Container logging should feed the broader logging strategy.

Yellow - Logging and Security Architecture

Container image and dependency scanners also belong with vulnerability management.

Asset and Vulnerability Management

Container labs and vulnerable playgrounds belong in Training.

Practice Lab

Container Management

CLI and Runtime Tools

  • gVisor - Container runtime sandbox.

  • ctop - Top-like interface for container metrics.

Platforms and Web Tools

  • Moby - Collaborative open source project for the Docker container ecosystem.

  • Traefik - Reverse proxy and load balancer with Docker and Let's Encrypt integration.

  • Kong - Cloud-native API gateway.

  • Rancher - Kubernetes and container management platform.

  • Portainer - Docker and Kubernetes management UI.

Logging and Monitoring

Container logging usually combines three layers:

  • Container platform logs: daemon events, API calls, and container create/modify/delete activity.

  • Host logs: operating system, kubelet, runtime, and platform logs. For example, Amazon EKS can ship control plane and workload logs to CloudWatch.

  • Application logs: service logs written to stdout/stderr, a bind mount, or an external collector.

Common collection patterns:

  • Persistent volume or bind mount for applications that write to files.

  • Application-native logging to an external destination.

  • Sidecar or DaemonSet collectors for Kubernetes workloads.

  • Runtime log drivers that capture stdout and stderr.

Container Defense

Vulnerability and Configuration Scanning

DFIR and Investigation

Container Pentesting

Use these references only for environments where you have explicit authorization.

Enumeration and Escapes

Offensive Tools

Docker

Docker packages an application with its runtime, dependencies, system tools, and settings.

Basics and Reference

Misc

  • Whaler - Reconstructs Dockerfiles from Docker images.

Kubernetes

Management and Observability

Offensive Tools

  • peirates - Kubernetes penetration tool for authorized privilege escalation and pivot testing.

  • Kubestroyer - Kubernetes misconfiguration exploitation toolkit.

Security Auditing

Resources

Last updated