πŸ“Š Docker
Q. What is the purpose of the 'docker tag' command?
  • (A) To add metadata to a Docker image
  • (B) To create a new container
  • (C) To rename a Docker image
  • (D) To assign a version or tag to a Docker image
πŸ’¬ Discuss
βœ… Correct Answer: (D) To assign a version or tag to a Docker image

Explanation: The 'docker tag' command is used to assign a version or tag to a Docker image. For example, 'docker tag my_image:latest my_image:v1.0'.

Explanation by: Vijay Sangwan
The 'docker tag' command is used to assign a version or tag to a Docker image. For example, 'docker tag my_image:latest my_image:v1.0'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
82
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
94%
Success Rate