MCQs > IT & Programming > Docker > Difference between the COPY and ADD commands in a Dockerfile.

Docker MCQs

Which statement best describes the difference between the COPY and ADD commands in a Dockerfile.

Answer

Correct Answer: COPY only supports the basic copying of local files into the container, while ADD has some features (like local-only tar extraction and remote URL support)

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Docker Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Docker Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it