Card 06/ 06
All 6 cards
RecapDifficulty: Intermediate1 min
What You Learned
- A Dockerfile is read top to bottom, each instruction changing the filesystem the one above it left.
RUNhappens at build time,CMDat start time.docker build -t name:tag .names the result; the.is the contextCOPYreads from.- A tag is a label on an image id, not a version and not a promise.
latestmeans whatever was pushed without a tag, which is why it is worth naming one.