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.
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.










