Module docker_analyzer

Source
Expand description

§Docker Analyzer Module

This module provides Docker infrastructure analysis capabilities for detecting:

  • Dockerfiles and their variants (dockerfile.dev, dockerfile.prod, etc.)
  • Docker Compose files and their variants (docker-compose.dev.yaml, etc.)
  • Port mappings and networking configuration
  • Service discovery and inter-service communication
  • Container orchestration patterns

Structs§

ComposeFileInfo
Information about a Docker Compose file
DockerAnalysis
Represents a Docker infrastructure analysis
DockerEnvironment
Environment-specific Docker configuration
DockerService
Represents a Docker service from compose files
DockerfileInfo
Information about a Dockerfile
ExposedService
Service exposed to external traffic
ExternalConnectivity
External connectivity patterns
HealthCheck
Health check configuration
LoadBalancerConfig
Load balancer configuration
NetworkInfo
Network information
NetworkingConfig
Networking configuration analysis
PortMapping
Port mapping configuration
ResourceLimits
Resource limits configuration
ServiceDiscoveryConfig
Service discovery configuration
VolumeMount
Volume mount configuration

Enums§

ImageOrBuild
Image or build configuration for a service
OrchestrationPattern
Container orchestration patterns

Functions§

analyze_docker_infrastructure
Analyzes Docker infrastructure in a project