A

Admin • 828.70K Points
Coach

Q. What happens if you mount a volume to a directory that already has data in the container?

  • (A) The container data is deleted
  • (B) The volume data overwrites the container data
  • (C) Both datasets are merged
  • (D) An error occurs
  • Correct Answer - Option(B)
  • Views: 23
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin
Volume contents will hide and override existing container contents at the mount point.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.