What does Dockerfile mean?

In cloud computing & DevOps, Dockerfile means a text file with step-by-step instructions, such as FROM, COPY and RUN, that Docker follows to build a container image.

ˈdɑːkərfaɪlnounCommon term

Cloud Computing & DevOps vocabulary · Containers and Orchestration

In Turkish: Dockerfile, Docker yapılandırma dosyası

Also used in: Software Engineering

How it is used

Usually named exactly 'Dockerfile', with a capital D and no extension, in the project's root folder. Engineers write, review and optimize Dockerfiles; multi-stage builds keep final images small.

Example sentences

  1. Add the new dependency to the Dockerfile, or the image won't build in CI.

  2. I rewrote the Dockerfile as a multi-stage build, and the image went from 1 GB to 150 MB.

Common collocations

  • write a Dockerfile
  • multi-stage Dockerfile
  • Dockerfile instruction
  • base image

More terms: Containers and Orchestration

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: