Advanced Containers & Virtualization #dockerfile#multi-stage-build#layer-caching

Dockerfile Writing Vocabulary

5 exercises — Master the English vocabulary of writing production-quality Dockerfiles: COPY vs ADD, CMD vs ENTRYPOINT, multi-stage builds, and layer caching.

0 / 26 completed
1 / 26

A code review comment reads: "You're using ADD to copy your application source into the image. Replace it with COPYADD has extra behaviour you don't need here, and it makes the Dockerfile harder to reason about."

Which statement best describes the key difference between COPY and ADD?

Frequently Asked Questions

What does the "Dockerfile Writing Vocabulary" exercise practise?

Practice Dockerfile vocabulary in English: COPY vs ADD, CMD vs ENTRYPOINT, multi-stage builds, layer caching, and professional documentation. 5 advanced exercises.

How many questions are in this exercise?

This exercise has 26 questions, each multiple-choice with a full explanation shown after you answer.

What English level is this exercise for?

This exercise is tagged Advanced. If the vocabulary feels difficult, browse the Containers & Virtualization category page for an easier module to start with.