> ## 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.

# hadolint/DL3010

> Use ADD for extracting archives into an image.

Use ADD for extracting archives into an image.

| Property | Value         |
| -------- | ------------- |
| Severity | Info          |
| Category | Best Practice |
| Default  | Enabled       |

## Description

Although `ADD` 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.

## Reference

* [hadolint/DL3010](https://github.com/hadolint/hadolint/wiki/DL3010)
