---
title: "Discussion on \"COPY vs. ADD in Dockerfile: What's the Difference?\" | Hashnode"
description: "Discussion on \"COPY vs. ADD in Dockerfile: What's the Difference?\". Understand the differences between Dockerfile instructions `COPY` and `ADD`, and discover when to use each for efficient Docker image building"
url: "https://hashnode.com/posts/copy-vs-add-in-dockerfile-whats-the-difference/6750ade26296f6fef2306cf0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [COPY vs. ADD in Dockerfile: What's the Difference?](https://jayeshdevops.hashnode.dev/copy-vs-add-in-dockerfile-whats-the-difference?utm_source=hashnode&utm_medium=feed)

Understand the differences between Dockerfile instructions \`COPY\` and \`ADD\`, and discover when to use each for efficient Docker image building

Dec 4, 2024 · 2 min read · jayeshdevops.hashnode.dev  
Read the article

-   [#devops](https://hashnode.com/tag/devops)
-   [#docker](https://hashnode.com/tag/docker)
-   [#containerization](https://hashnode.com/tag/containerization)
-   [#containers](https://hashnode.com/tag/containers)
-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#kubernetes-container](https://hashnode.com/tag/kubernetes-container)
-   [#docker-images](https://hashnode.com/tag/docker-images)
-   [#docker-compose](https://hashnode.com/tag/docker-compose)
-   [#dockerfile](https://hashnode.com/tag/dockerfile)

## Written by

[Jayesh Nalawade](https://hashnode.com/@JayeshNalawade)

@JayeshNalawade

  
[View profile](https://hashnode.com/@JayeshNalawade)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
