Edit a File in a Running Kubernetes Pod: a Distroless Container Case
Learn how to edit a file in a distroless container that runs as a non-root user in a Kubernetes namespace that enforces the baseline Pod Security Standard.
Focused, hands-on DevOps and server-side problems with hints, feedback, and automated solution checks.
Learn how to edit a file in a distroless container that runs as a non-root user in a Kubernetes namespace that enforces the baseline Pod Security Standard.
A distroless container serves a debug interface on its own loopback address. Can you reach this debug endpoint using nothing but standard Docker commands?
A Go service that has always been shipped as a static binary in a scratch-y image suddenly fails to start in a container, while the local build works as before. Find what recent changes caused it and fix the image without reverting them.
Leverage your knowledge of Linux namespaces to reach an application's internal debug interface without installing anything into the container.
An ultimate Kubernetes troubleshooting challenge: can you copy files to/from a running Pod that doesn't have a shell or other command line tools installed?
Can you edit a file in a running container? What if there is no shell?
Not all distroless images are created equal. Can you find the right base image for the application in this challenge?
Learn on practice the limitations of FROM scratch images and the ways to mitigate them.
Learn how to send a signal to a Kubernetes app running in a container without shell.