← Back Home

Docker: Difference ADD and COPY

  1. til

When creating docker image, sometimes we need to copy few files. We can use ADD or COPY command to copy files from our machine to docker image. Both have similar purpose, with different implementation

ADD: (docs)

COPY: (docs)

This comparison already covered on Docker's Best Practice

comments powered by Disqus