<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/making-your-docker-builds-faster-with-cargo-chef-demb5pi9l" -->

---
title: Making Your Docker Builds Faster with cargo-chef | daily.dev
description: Learn how to improve Docker build performance for Rust applications using cargo-chef, and understand the factors that contribute to slow build times.
canonical: https://daily.dev/posts/making-your-docker-builds-faster-with-cargo-chef-demb5pi9l
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Making Your Docker Builds Faster with cargo-chef | daily.dev
og:description: Learn how to improve Docker build performance for Rust applications using cargo-chef, and understand the factors that contribute to slow build times.
og:url: https://daily.dev/posts/making-your-docker-builds-faster-with-cargo-chef-demb5pi9l
og:image: https://api.daily.dev/og/posts/deMB5Pi9l.png
og:image:alt: Making Your Docker Builds Faster with cargo-chef
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Making Your Docker Builds Faster with cargo-chef

**[Earthly](https://daily.dev/sources/earthly)** · 11 min read · 7 upvotes · 0 comments

## Summary

Learn how to improve Docker build performance for Rust applications using cargo-chef, and understand the factors that contribute to slow build times.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://earthly.dev/blog/cargo-chef/>

---

Tags: [#docker](https://daily.dev/tags/docker), [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/making-your-docker-builds-faster-with-cargo-chef-demb5pi9l)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Making Your Docker Builds Faster with cargo-chef","url":"https://daily.dev/posts/making-your-docker-builds-faster-with-cargo-chef-demb5pi9l","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/making-your-docker-builds-faster-with-cargo-chef-demb5pi9l"},"datePublished":"2024-02-26T19:55:16.104Z","dateModified":"2024-05-09T09:21:59.549Z","description":"Learn how to improve Docker build performance for Rust applications using cargo-chef, and understand the factors that contribute to slow build times.","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d62859142fdd2afd9756edca228e4f43?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d62859142fdd2afd9756edca228e4f43?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Earthly","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Earthly","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/139a6e6902684ea1aa97ca01c0c8c92e","url":"https://daily.dev/sources/earthly"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/making-your-docker-builds-faster-with-cargo-chef-demb5pi9l","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":7},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"docker,rust","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Earthly","item":"https://daily.dev/sources/earthly"},{"@type":"ListItem","position":3,"name":"Making Your Docker Builds Faster with cargo-chef"}]}
```

