πŸ“Š Docker
Q. What does the `RUN` instruction do in a Dockerfile?
  • (A) Defines a default command
  • (B) Executes a command at container runtime
  • (C) Executes a command at image build time
  • (D) Deletes a file
πŸ’¬ Discuss
βœ… Correct Answer: (C) Executes a command at image build time

Explanation: `RUN` is used to execute commands while building the image.

Explanation by: Mr. Dubey
`RUN` is used to execute commands while building the image.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
28
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate