R

Rakesh Kumar • 28.44K Points
Instructor II

Q. What is the purpose of the ARG instruction in a Dockerfile?

  • (A) To define build-time variables
  • (B) To set environment variables
  • (C) To specify the working directory
  • (D) To copy files into the container
  • Correct Answer - Option(A)
  • Views: 27
  • Filed under category Docker

Explanation by: Rakesh Kumar
The ARG instruction defines build-time variables that can be passed during the image build process.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics