docker-container-escape
Installation
SKILL.md
Docker Container Escape
When to Use
Breaking out of Docker containers to gain root access on the host system. Useful for privilege escalation during pentests or red team engagements.
Prerequisites
- Shell access inside a Docker container
- Basic Linux knowledge
- Understanding of Docker architecture
- Target system runs Docker
Attack Vectors
1. Privileged Container
Container running with --privileged flag has full host access.
2. Exposed Docker Socket
Mounted /var/run/docker.sock allows Docker API access.