Overview
IncidentFox provides 15 Docker tools for comprehensive container debugging, including logs, stats, exec, and inspection capabilities.Tools Available
Configuration
Local Docker Socket
Remote Docker API
Example Queries
Check Container Status
Get Container Logs
Check Resource Usage
Execute Diagnostic Command
Use Cases
Container Health Investigation
When a container is unhealthy:- Check container status with
docker_ps - Review logs with
docker_logs - Inspect configuration with
docker_inspect - Check resource usage with
docker_stats
Network Debugging
For connectivity issues:- List networks with
docker_networks - Inspect container network settings
- Use
docker_execto run network diagnostics
Resource Exhaustion
When containers are slow or crashing:- Check
docker_statsfor CPU/memory usage - Review
docker_eventsfor OOM kills - Analyze
docker_difffor unexpected file changes
Security Considerations
Principle of Least Privilege
Approval Workflow for Exec
Troubleshooting
Permission Denied
- Add the IncidentFox service user to the
dockergroup - Use TCP API with proper authentication
- Use sudo with proper configuration
Container Not Found
Ensure container names or IDs are correct. Usedocker_ps to list available containers.
Next Steps
Kubernetes
For orchestrated containers
Log Analysis
Advanced log analysis tools

