Use ADD for extracting archives into an image.Documentation Index
Fetch the complete documentation index at: https://tally.wharflab.com/llms.txt
Use this file to discover all available pages before exploring further.
| Property | Value |
|---|---|
| Severity | Info |
| Category | Best Practice |
| Default | Enabled |
Description
AlthoughADD and COPY are functionally similar, generally speaking, COPY is preferred. 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). The best use for ADD is local tar file
auto-extraction into the image.