πŸ“Š Docker
Q. Which command is used to build a Docker image from a Dockerfile?
  • (A) docker create
  • (B) docker build
  • (C) docker run
  • (D) docker compose
πŸ’¬ Discuss
βœ… Correct Answer: (B) docker build

Explanation: The 'docker build' command is used to build a Docker image from a Dockerfile and a context (usually the current directory).

Explanation by: Priyanka Tomar
The 'docker build' command is used to build a Docker image from a Dockerfile and a context (usually the current directory).

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
67
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
86%
Success Rate