Container Breakout

πŸ΄β€β˜ οΈ Critical Host Escalation

You are inside a compromised container. After enumerating with ls -la /var/run/ you discover the Docker socket is exposed.

Write the exact command to connect to that socket (-H), execute (run) a new container based on alpine, mount the server's entire root (-v /:/mnt) and open an interactive shell as absolute root using chroot on the /mnt directory.

appuser@web-container-01:~$