Interactive Debugging of Dockerfile With Buildg - Kohei Tokunaga, NTT Corporation
Channel: The Linux Foundation
Date: 2022-10-08

Interactive Debugging of Dockerfile With Buildg - Kohei Tokunaga, NTT Corporation

Debugging Dockerfile is hard. This is even more true of large and highly multi-staged builds. You can debug it by modifying and re-running the Dockerfile but it's time-consuming and your favourite tools might be unavailable on the base image. This makes debugging a 5 min problem take hours. In this talk, Kohei will introduce an interactive debugger for Dockerfile, "buildg". buildg is implemented based on BuildKit (the core of "docker build") and makes debugging Dockerfile easier by providing gdb-inspired interactive UI/UX with breakpoints, source-level inspection and interactive shell on an arbitrary Dockerfile instruction. The talk will also share the status of integration of buildg with tools in the community.