culTest

    One of the 50 questions in this topic

    How much do you know about Docker?

    Which Dockerfile statement is used to copy files from the host to the container?

    Answers

    TRANSFER
    ADD
    COPYCorrect
    MOVE

    The COPY statement copies files or directories from the build context to the image file system. It is more explicit and predictable than ADD, which has additional functionality such as decompressing files and supporting URLs, so COPY is recommended for simple cases.