What is the purpose of the `COPY` instruction?

  1. To copy from image to host
  2. To copy from container to host
  3. To copy files from host to image
  4. To copy files from one image to another
Correct answer To copy files from host to image

Explanation

`COPY` transfers files from the local file system into the image.

Update: Admin added a tag on this question

Topics

By Admin · · 52 views