Interactive Debugging of Dockerfile With Buildg
Talkat ContainerCon @ Open Source Summit Europe 2022 · on Wednesday, 2022-09-14· at 11:15· Wicklow Hall 1 (Level 2), Convention Centre Dublin, Spencer Dock, N Wall Quay, North Wall Dublin 1, D01 T1·
summary
An interactive debugger for Dockerfiles that embeds BuildKit and hooks LLB ops to provide breakpoints, source-level inspection and the ability to spawn an interactive shell at any instruction, reproducing that instruction’s root filesystem and execution environment. It lets users supply a debugger image (so tools work on scratch/busybox), reuses BuildKit cache to speed iterations, integrates with IDEs via the Debug Adapter Protocol (VS Code, Neovim, Emacs) and runs rootless via rootlesskit.
AI-written summary · about
chapters (9)
- 0:00Start
- 0:57Debugging Dockerfile is hard
- 2:52buildg: Interactive Debugger for Dockerfile
- 3:38Interactive CLI
- 5:25Interactive shell on an instruction
- 6:13Bring your own debugger image
- 7:21Speed up 2nd time debugging by cache
- 19:22GUI-based debugging of Dockerfile on IDEs
- 30:44Summary
related talks
28mCompiling Containers
24mDebugging at Scale in Production - Deep into your Containers
28mWhat's New in Docker Build
29mHow to Improve Your Image Builds Using Advance Docker Build
58mOptions Galore to Get from Source Code to Container
45mDocker Bake, elegance and standardization for building your Docker images
30mLearning by Pulling Things Apart
50mHowto: Options Galore to Get from Source Code to Container
