Containers
All interview questions related to Containers
Explain the key differences between Docker containers and virtual machines. When would you use one over the other?
A pod is stuck in Pending state. What are the common causes and troubleshooting steps?
What is the difference between a Docker image and a Docker container?
What are Docker multi-stage builds and why are they useful?
What is the difference between a Docker volume and a bind mount, and when would you use each?
How would you secure container runtimes (e.g., Docker, containerd) in production environments?
Design a judge/sandbox to safely compile and run untrusted code in multiple languages with resource limits and scaling.
A pod has been stuck in Pending state for over 15 minutes. Walk me through how you would troubleshoot and resolve this issue.
A Kubernetes service keeps restarting with CrashLoopBackOff. How do you debug and resolve this?
New pods are failing with ImagePullBackOff and registry logs show rate limiting/throttling. How do you restore service quickly and prevent recurrence?
A container is consistently OOMKilled under normal workload. How do you debug and fix it?