FROM microsoft/windowsservercore

RUN echo "Hello World"

Above two lines are the instructions for dockerfile. As per above we have two layers but I am bit confused with layering in docker. Echo command followed by RUN instruction in layer 2 where does it come from. Does it come from layer 1 or does docker has inbuilt command like Echo, RUN.

New contributor
user43323 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

closed as off-topic by RockPaperLizard Jan 15 at 4:34

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.