A

Admin • 833.24K Points
Coach

Q. What is the purpose of the ADD instruction in a Dockerfile?

  • (A) To copy files from the host to the container
  • (B) To copy files between containers
  • (C) To copy files from the container to the host
  • (D) To create a backup of the container
  • Correct Answer - Option(A)
  • Views: 34
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin

The ADD instruction copies files or directories from the host into the container.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.