Front-end World

Front-end World

Think Twice Before Using COPY --link in Your Docker Builds

A Deep Dive into Docker's COPY --link: When It Helps, When It Hurts, and Why Small Apps Should Be Cautious

Kristiyan Velkov's avatar
Kristiyan Velkov
May 20, 2025
∙ Paid

Introduction

Docker 25.0 introduced a powerful but often overlooked enhancement: the --link flag for the COPY command. This feature is available only when using BuildKit, Docker’s modern build engine, and it can significantly boost your build performance and reduce disk usage—especially in complex projects.

User's avatar

Continue reading this post for free, courtesy of Kristiyan Velkov.

Or purchase a paid subscription.
© 2026 © 2025 Kristiyan Velkov. All rights reserved. · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture