Beginner
Docker & Containers
Q38 / 100
What is the purpose of the "LABEL" instruction in a Dockerfile?
Correct! Well done.
Incorrect.
The correct answer is A) To add metadata (key-value pairs) to an image, such as version, author, or description
A
Correct Answer
To add metadata (key-value pairs) to an image, such as version, author, or description
Explanation
LABEL adds arbitrary metadata to an image (e.g. "LABEL maintainer=\"dev@example.com\""), useful for organization and automation tooling.
Progress
38/100