πŸ“Š Docker
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) To define build-time variables

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
165
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
82%
Success Rate