A

Admin • 833.24K Points
Coach

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
  • Correct Answer - Option(D)
  • Views: 28
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin

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'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.