<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/you-should-stop-writing-dockerfiles-today-do-this-instead-gypwrtrdo" -->

---
title: You should stop writing Dockerfiles today — Do this instead
description: Learn how to simplify the process of configuring Docker for your project using docker init. Docker init helps generate Dockerfiles, Compose files, and...
canonical: https://daily.dev/posts/you-should-stop-writing-dockerfiles-today-do-this-instead-gypwrtrdo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: You should stop writing Dockerfiles today — Do this instead | daily.dev
og:description: Learn how to simplify the process of configuring Docker for your project using docker init. Docker init helps generate Dockerfiles, Compose files, and...
og:url: https://daily.dev/posts/you-should-stop-writing-dockerfiles-today-do-this-instead-gypwrtrdo
og:image: https://api.daily.dev/og/posts/gYPWrTrdO.png
og:image:alt: You should stop writing Dockerfiles today — Do this instead
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.

# You should stop writing Dockerfiles today — Do this instead

**[Community Picks](https://daily.dev/sources/community)** · 2 min read · 231 upvotes · 7 comments

## Summary

Learn how to simplify the process of configuring Docker for your project using docker init. Docker init helps generate Dockerfiles, Compose files, and .dockerignore files based on your project's requirements. It supports various programming languages and follows industry best practices.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/kpmg-uk-engineering/you-should-stop-writing-dockerfiles-today-do-this-instead-3cd8a44cb8b0>

## Community discussion

Top comments from developers on daily.dev.

**@denonerodev** · 2 upvotes

> Yesterday, I spent 7 hours learning and using Docker just to implement it for my website. I wish I had read this post earlier.

**@hlava22** · 1 upvotes

> Great! Looking forward to try it!

**@divergent** · 1 upvotes

> Well written! I did not know about this.

**@theyashsisodiya** · 1 upvotes

> A big thank you to you Akhilesh, I will definitely try it in my next project.

**@kalagaserge** · 1 upvotes

> Very good tool for developers

## Similar posts on daily.dev

- [Governing Security in the Age of Infinite Signal](https://daily.dev/posts/governing-security-in-the-age-of-infinite-signal-qhihbir44) · Snyk · 0 upvotes · 0 comments
- [No one has a good plan for how AI companies should work with the government](https://daily.dev/posts/no-one-has-a-good-plan-for-how-ai-companies-should-work-with-the-government-nkajqoze1) · TechCrunch · 0 upvotes · 1 comments

---

Tags: [#docker](https://daily.dev/tags/docker), [#automation](https://daily.dev/tags/automation), [#flask](https://daily.dev/tags/flask), [#docker-compose](https://daily.dev/tags/docker-compose)

[View this post on daily.dev](https://daily.dev/posts/you-should-stop-writing-dockerfiles-today-do-this-instead-gypwrtrdo)

```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":"You should stop writing Dockerfiles today — Do this instead","url":"https://daily.dev/posts/you-should-stop-writing-dockerfiles-today-do-this-instead-gypwrtrdo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/you-should-stop-writing-dockerfiles-today-do-this-instead-gypwrtrdo"},"datePublished":"2024-03-09T18:22:11.582Z","dateModified":"2024-05-09T09:28:18.744Z","description":"Learn how to simplify the process of configuring Docker for your project using docker init. Docker init helps generate Dockerfiles, Compose files, and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ace2ffd2afcd9874e342e4633f3bbb1f?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ace2ffd2afcd9874e342e4633f3bbb1f?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Community Picks","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":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":7,"discussionUrl":"https://daily.dev/posts/you-should-stop-writing-dockerfiles-today-do-this-instead-gypwrtrdo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":231},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":7}],"keywords":"docker,automation,flask,docker-compose","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"You should stop writing Dockerfiles today — Do this instead"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/you-should-stop-writing-dockerfiles-today-do-this-instead-gypwrtrdo","comment":[{"@type":"Comment","text":"Yesterday, I spent 7 hours learning and using Docker just to implement it for my website. I wish I had read this post earlier.","datePublished":"2024-03-24T09:33:21.914Z","url":"https://daily.dev/posts/gYPWrTrdO#c-rXNC1vu4P","author":{"@type":"Person","name":"Deno Nero","url":"https://daily.dev/denonerodev","image":"https://lh3.googleusercontent.com/a/ACg8ocINb1rEkDbwAjj9uEI5TreFNlE47Es-DPTFnCL3kPOn=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Great! Looking forward to try it!","datePublished":"2024-03-09T19:00:51.247Z","url":"https://daily.dev/posts/gYPWrTrdO#c-qa6Z4lfs4","author":{"@type":"Person","name":"Richard Hlavica","url":"https://daily.dev/hlava22","image":"https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Well written! I did not know about this.","datePublished":"2024-03-13T08:58:39.989Z","url":"https://daily.dev/posts/gYPWrTrdO#c-mv3hiaHAL","author":{"@type":"Person","name":"Andrei","url":"https://daily.dev/divergent","image":"https://avatars.githubusercontent.com/u/29161725?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"A big thank you to you Akhilesh, I will definitely try it in my next project.","datePublished":"2024-03-14T19:40:32.938Z","url":"https://daily.dev/posts/gYPWrTrdO#c-TfvjrmEnT","author":{"@type":"Person","name":"Yashraj singh sisodiya","url":"https://daily.dev/theyashsisodiya","image":"https://lh3.googleusercontent.com/a/ACg8ocLEMYJ5gmsquoSafoVqqM_eZcZTMNgDK8FlsXnQ7QWm4Lo=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Very good tool for developers","datePublished":"2024-03-22T15:39:17.822Z","url":"https://daily.dev/posts/gYPWrTrdO#c-QEa96K5WX","author":{"@type":"Person","name":"KALAGA Serge Eric","url":"https://daily.dev/kalagaserge","image":"https://media.daily.dev/image/upload/s--BC0Hmvha--/f_auto/v1756470754/avatars/avatar_jxNAIJvZH9uqiH2H3hQ1e?_a=BAMClqZW0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

