InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 1465–1476 of 3610 questions

Docker & KubernetesIntermediate1 min read

What is a multi-stage Docker build?

A multi-stage build uses separate stages for compilation and runtime so build tools and intermediate files do not need to be included in the final image.

Docker & KubernetesIntermediate1 min read

How do image layers and build cache work?

Docker caches instructions and their inputs. If a step and its dependencies are unchanged, Docker may reuse that layer; order stable dependency steps before frequently changing sou

Docker & KubernetesIntermediate1 min read

Compare bridge, host, and overlay networks.

Bridge networks connect containers on one Docker host. Host networking shares the host network namespace on supported platforms. Overlay networks connect services across hosts in c