---
title: "Discussion on \"Most Docker interview questions hide one split: what happens when you build, and what happens when you run\" | Hashnode"
description: "Discussion on \"Most Docker interview questions hide one split: what happens when you build, and what happens when you run\". A plain-English walk through the Docker questions interviewers ask most: images and containers, layers and the build cache, CMD vs ENTRYPOINT, ARG vs ENV, EXPOSE vs -p, volumes, docker stop and security."
url: "https://hashnode.com/posts/most-docker-interview-questions-hide-one-split-what-happens-when-you-build-and-what-happens-when-you-run/6b03b5e2bea275ad404e802d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Most Docker interview questions hide one split: what happens when you build, and what happens when you run](https://systemdesignacademy.hashnode.dev/most-docker-interview-questions-hide-one-split-what-happens-when-you-build-and-what-happens-when-you-run?utm_source=hashnode&utm_medium=feed)

A plain-English walk through the Docker questions interviewers ask most: images and containers, layers and the build cache, CMD vs ENTRYPOINT, ARG vs ENV, EXPOSE vs -p, volumes, docker stop and security.

3h ago · 9 min read · systemdesignacademy.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#containers](https://hashnode.com/tag/containers)
-   [#devops](https://hashnode.com/tag/devops)
-   [#interview-questions](https://hashnode.com/tag/interview-questions)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

[RONI DAS](https://hashnode.com/@ronidas)

@ronidas · India

  
[View profile](https://hashnode.com/@ronidas)

AI engineering, agentic memory, machine learning, and system design at scale.

I work on AI systems and the infrastructure they actually run on: agentic architectures, memory for agents, retrieval, and the graph and data layers that keep model output grounded in something real. Formerly at Neo4j. I also write and teach the systems side that most AI content skips, from distributed systems and databases to the design decisions that decide whether a model ever reaches production. I run Total Technology Zonne on YouTube and I am building systemdesign.academy, an interactive course on system design, machine learning, and AI engineering, covering the parts most tutorials leave as an exercise for the reader. Mock interviews and prep packs: topmate.io/roni

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
