DockerFile : Difference between ADD and COPY
As per this the following reference https://docs.docker.com/engine/reference/builder/#copy
I see no difference between ADD and COPY.
Please help me with a simple example explaining the difference.
One Solution collect form web for “DockerFile : Difference between ADD and COPY”
Found the answer here: Docker COPY vs ADD
- ADD allows
<src>to be an URL
- If the
<src>parameter of ADD is an
archive in a recognized compression format, it will be unpacked