Reach a Distroless Container's Debug Endpoint From a Sidecar Container
A distroless container serves a debug interface on its own loopback address. Can you reach this debug endpoint using nothing but standard Docker commands?
Focused, hands-on DevOps and server-side problems with hints, feedback, and automated solution checks.
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 sandboxed "agent" on a CI host is suspected of breaking out of its microVM. Learn how to find a sandbox breakout and block it without taking the sandbox down.
Leverage your knowledge of Linux namespaces to reach an application's internal debug interface without installing anything into the container.
Learn how to run multiple Docker containers sharing the same PID, IPC, and network namespaces - a foundation of many advanced container use cases, including Kubernetes Pods construction and container debugging tools.
Unused anonymous and named volumes pile up on a long-running Docker host and eat its disk space. Learn how to find and remove the unused ones while keeping the volumes that are still needed.
Can you make a container exit gracefully after the 'docker stop' command while preserving its extensible entrypoint mechanism?
Run a multi-container Docker Compose application limiting its total CPU and memory usage without specifying the individual container's limits.
Learn how to fine-tune the container's cgroup to make the container exit when one of its processes runs out of memory.
Learn a bunch of Linux networking tricks while trying to access an Nginx server running inside a Docker container with no published ports.