Introduction to Docker for CTFs @LiveOverflow
Introduction to Docker for CTFs  @LiveOverflow
Uploaded February 2020 | Updated September 2026, 2 weeks ago
I'm using Docker more often for CTFs, both to run challenges locally and to build a reproducible player environment. More CTFs now share Dockerfiles, so this is an introduction to building, running, debugging, and exploiting a simple containerized challenge. If you have other tips or tricks for your workflow, share them below!

LEARN ON HEXTREE (ad)
Learn hacking on Hextree: hextree.io
Join the Hextree Discord: discord.gg/xgQpCQCpvy

Example challenge and CTF container: github.com/LiveOverflow/pwn_docker_example

CHAPTERS
00:00 - Why Docker is useful for CTFs
00:42 - Running a challenge locally with Docker Compose
01:57 - Docker as a CTF player environment
02:42 - Installing Docker and Docker Compose
04:08 - Building the example pwn challenge image
05:55 - Running the challenge and mapping its port
07:00 - Building a CTF player container
07:45 - Mounting files and enabling GDB
08:35 - Opening a shell inside the CTF container
09:20 - Connecting to the challenge and writing an exploit

SUPPORT
Per video: patreon.com/join/liveoverflow
Per month: youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join
Buy my handwriting font (ad): shop.liveoverflow.com

WATCH, FOLLOW & READ
Second channel: youtube.com/LiveUnderflow
Twitch: twitch.tv/LiveOverflow
Twitter: twitter.com/LiveOverflow
Instagram: instagram.com/LiveOverflow
TikTok: tiktok.com/@liveoverflow_
LiveOverflow blog: liveoverflow.com
Hextree blog (ad): hextree.io/blog

#CTF #Docker #LiveOverflow

(ad) LiveOverflow YouTube channel is supported by advertisement and product placement.
Introduction to Docker for CTFsWhat is a Protocol? (Deepdive)Failed DOM Clobbering Research - All The Little Things 1/2 (web) Google CTF 2020Local Root Exploit in HospitalRun SoftwareCode Review vs. Dynamic Testing explained with MinecraftHow Speedrunners Use Game Hacking ToolsSecurity.txt - My Awesome Invention for Security ResearchersThe German Hacking ChampionshipIgniting Creativity for a (Hacking) Game - Game Devlog #2How To Protect Your Linux Server From Hackers!Learn Android Hacking! - University Nevada, Las Vegas (2024)Hacking into Googles Network for $133,337
LiveOverflow |

Introduction to Docker for CTFs

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER