1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [ADD](<https://delaparra-services.nl/knowledge-hub/add>)

  

Category: Docker 

# ADD

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is ADD?

 

ADD: Like COPY but with extras: it can fetch remote URLs and auto-extract local tar archives. ` ADD ` copies files into a Docker image, like ` COPY `, but with two extras. It can download a file from a URL, and it automatically unpacks local tar archives into the target folder. Those extras are also why Docker's own guidance recommends ` COPY ` for normal use. ` ADD ` can surprise you: an archive you meant to copy as a file gets unpacked instead. And downloads with ` ADD ` give little control over checksums or caching.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about ADD

  

### What should you keep in mind with ADD?

 

Use ` COPY ` by default. Reach for ` ADD ` only when you deliberately want a local archive unpacked in one step. For downloads, ` RUN curl ` with a checksum check, or a multi-stage build, is clearer and safer. Choosing the plainer instruction makes your Dockerfile easier for the next person to read without surprises.

    

### What does an example of ADD look like?

 

```
ADD release.tar.gz /opt/app/
```

 

## At a glance

   CategoryDocker Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Docker terms

 

- [anonymous volume](<https://delaparra-services.nl/knowledge-hub/anonymous-volume>) 
- [ARG](<https://delaparra-services.nl/knowledge-hub/arg>) 
- [base image](<https://delaparra-services.nl/knowledge-hub/base-image>) 
- [bind mount](<https://delaparra-services.nl/knowledge-hub/bind-mount>) 
- [bridge](<https://delaparra-services.nl/knowledge-hub/bridge>) 
- [build](<https://delaparra-services.nl/knowledge-hub/build>)

 

[All terms starting with A](<https://delaparra-services.nl/knowledge-hub#letter-a>)

 

## Skills

 

- ### Docker Build Strategies

 

Use this skill when writing, reviewing, or optimizing Dockerfiles, even if the user just says their image is too large, their build is slow, or they need to harden a container for production. Covers multi-stage builds, layer caching, .dockerignore, non-root users, and image size optimization.

 [View skill](<https://delaparra-services.nl/skills/docker-build-strategies>) [Download zip](<https://delaparra-services.nl/skills/docker-build-strategies/download>) 
- ### Multi Stage Dockerfile

 

'Create optimized multi-stage Dockerfiles for any language or framework'

 [View skill](<https://delaparra-services.nl/skills/multi-stage-dockerfile>) [Download zip](<https://delaparra-services.nl/skills/multi-stage-dockerfile/download>) 
- ### Docker Project Foundations

 

Use this skill when setting up, initializing, or Dockerizing a project, even if the user doesn't explicitly mention Docker but describes a need for containerized local development, adding a database or cache dependency, or running services without host-level installs. Covers Dockerfile, compose.yaml, and .dockerignore creation with Docker best practices.

 [View skill](<https://delaparra-services.nl/skills/docker-project-foundations>) [Download zip](<https://delaparra-services.nl/skills/docker-project-foundations/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/add/skills.zip>)

 

## Manuals

 

- [Docker for your Laravel app](<https://delaparra-services.nl/manuals/docker-voor-je-laravel-app>)

 

## Related services

 

- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)

Perhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/add)
