πŸ“Š Docker
Q. What is the purpose of the `FROM` instruction in a Dockerfile?
  • (A) To define environment variables
  • (B) To specify the base image
  • (C) To expose ports
  • (D) To start a container
πŸ’¬ Discuss
βœ… Correct Answer: (B) To specify the base image

Explanation: `FROM` sets the base image for the Docker image being built.

Explanation by: Mr. Dubey
`FROM` sets the base image for the Docker image being built.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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