Q. What command would you use to remove a Docker image?

  • (A) docker rm image_name
  • (B) docker rmi image_name
  • (C) docker image rm image_name
  • (D) docker remove image_name
πŸ’¬ Discuss
βœ… Correct Answer: (B) docker rmi image_name
Explanation: The 'docker rmi' command is used to remove a Docker image from the local machine.
Explanation by: Rakesh Kumar
The 'docker rmi' command is used to remove a Docker image from the local machine.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
166
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
94%
Success Rate