Quiz: In Docker Compose YAML, what is the architectural function of the 'depends_on' configuration key?
… shutdown sequencing between services when executing docker compose up .
Find tutorials, system documentation, dynamic pages, and interactive quizzes in one place.
… shutdown sequencing between services when executing docker compose up .
Multi-stage builds allow you to use intermediate images for compiling binaries and then copy only the finalized artifact into a slim production base image (e.g. alpine).
docker exec -it opens an interactive pseudo-TTY session inside an already running container process.
docker logs -f streams live standard output and standard error logs from the target container.
docker system prune frees disk space by removing unused container data resources.
Exit code 137 occurs when container memory usage exceeds cgroup limits, causing kernel OOM killer termination.
The --privileged flag gives the container near-total access to host kernel capabilities, posing severe security risks.
Distroless images remove package managers and shell binaries, eliminating common exploitation targets.