instruction

One line of a Dockerfile, written as an upper-case keyword followed by its arguments, such as COPY app.py .

In more detail

Instructions that change files (RUN, COPY, ADD) create layers; the rest (CMD, ENV, LABEL, EXPOSE and so on) only change metadata. Keywords are conventionally written in capitals so they stand out from their arguments.

Related terms

Taught in

References

Certification courses