A Dockerfile for a zoning-map renderer installs packages with RUN. When do those RUN commands execute?
Select an answer to reveal the explanation.
Short Explanation
RUN is workshop time: you install tools while building the machine. Once the machine ships, those install steps do not re-run just because someone turns the power on.
Full Explanation
RUN executes at image build time and typically produces a layer. Package installs and compile steps belong there. They do not re-execute when a container starts; the container’s start command is defined separately (ENTRYPOINT/CMD). Combining related package work in one RUN can keep layer count intentional.