Which Dockerfile instruction is used to add metadata to an image?

  1. LABEL
  2. ENV
  3. META
  4. INFO
Correct answer LABEL

Explanation

`LABEL` provides metadata as key-value pairs.

Update: Admin added a tag on this question

Topics

By Admin · · 33 views