{
    "url": "https://delaparra-services.nl/knowledge-hub/add",
    "locale": "en",
    "title": "ADD: Knowledge hub | DeLaParra Services",
    "description": "Like COPY but with extras: it can fetch remote URLs and auto-extract local tar archives.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/add",
        "nl": "https://delaparra-services.nl/nl/kennisbank/add"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/add.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/add.md",
        "json": "https://delaparra-services.nl/knowledge-hub/add.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/add.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/add.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/add.csv",
            "encodingFormat": "text/csv",
            "name": "add.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/add.json",
            "encodingFormat": "application/json",
            "name": "add.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/add.md",
            "encodingFormat": "text/markdown",
            "name": "add.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/add.pdf",
            "encodingFormat": "application/pdf",
            "name": "add.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/add.zip",
            "encodingFormat": "application/zip",
            "name": "add.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/add/skills.zip",
            "encodingFormat": "application/zip",
            "name": "add-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [ADD](<https://delaparra-services.nl/knowledge-hub/add>)\n\n  \n\nCategory: Docker \n\n# ADD\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is ADD?\n\n \n\nADD: 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.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about ADD\n\n  \n\n### What should you keep in mind with ADD?\n\n \n\nUse ` 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.\n\n    \n\n### What does an example of ADD look like?\n\n \n\n```\nADD release.tar.gz /opt/app/\n```\n\n \n\n## At a glance\n\n   CategoryDocker Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More Docker terms\n\n \n\n- [anonymous volume](<https://delaparra-services.nl/knowledge-hub/anonymous-volume>) \n- [ARG](<https://delaparra-services.nl/knowledge-hub/arg>) \n- [base image](<https://delaparra-services.nl/knowledge-hub/base-image>) \n- [bind mount](<https://delaparra-services.nl/knowledge-hub/bind-mount>) \n- [bridge](<https://delaparra-services.nl/knowledge-hub/bridge>) \n- [build](<https://delaparra-services.nl/knowledge-hub/build>)\n\n \n\n[All terms starting with A](<https://delaparra-services.nl/knowledge-hub#letter-a>)\n\n \n\n## Skills\n\n \n\n- ### Docker Build Strategies\n\n \n\nUse 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.\n\n [View skill](<https://delaparra-services.nl/skills/docker-build-strategies>) [Download zip](<https://delaparra-services.nl/skills/docker-build-strategies/download>) \n- ### Multi Stage Dockerfile\n\n \n\n'Create optimized multi-stage Dockerfiles for any language or framework'\n\n [View skill](<https://delaparra-services.nl/skills/multi-stage-dockerfile>) [Download zip](<https://delaparra-services.nl/skills/multi-stage-dockerfile/download>) \n- ### Docker Project Foundations\n\n \n\nUse 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.\n\n [View skill](<https://delaparra-services.nl/skills/docker-project-foundations>) [Download zip](<https://delaparra-services.nl/skills/docker-project-foundations/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/add/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [Docker for your Laravel app](<https://delaparra-services.nl/manuals/docker-voor-je-laravel-app>)\n\n \n\n## Related services\n\n \n\n- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)\n\nPerhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.\n\n \n\n## Need any help?\n\n \n\nStuck 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.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/add)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/add#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/add",
                "name": "ADD: Knowledge hub | DeLaParra Services",
                "description": "Like COPY but with extras: it can fetch remote URLs and auto-extract local tar archives.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/add#term",
                    "name": "ADD",
                    "description": "Like COPY but with extras: it can fetch remote URLs and auto-extract local tar archives.",
                    "termCode": "add",
                    "url": "https://delaparra-services.nl/knowledge-hub/add",
                    "inLanguage": "en",
                    "keywords": "Docker",
                    "dateModified": "2026-11-25T17:46:24+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/add#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/add#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/add#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is ADD?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "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."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with ADD?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "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."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What does an example of ADD look like?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "ADD release.tar.gz /opt/app/"
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/docker-build-strategies#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/multi-stage-dockerfile#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/docker-project-foundations#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/docker-voor-je-laravel-app#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/add#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "ADD"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/add#dataset",
                "name": "ADD",
                "description": "Like COPY but with extras: it can fetch remote URLs and auto-extract local tar archives.",
                "url": "https://delaparra-services.nl/knowledge-hub/add",
                "identifier": "https://delaparra-services.nl/knowledge-hub/add#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/add#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "Docker",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:24+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "add.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/add.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "add.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/add.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "add.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/add.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "add.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/add.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "add.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/add.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "add-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/add/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}