TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Dockerfiler: declarative management of images built from Dockerfiles

35 pointsby jbergknoffalmost 5 years ago

10 comments

jbergknoffalmost 5 years ago
Hi, I&#x27;m the author. Thanks for taking a look. This is basically a tool to help manage a &quot;Dockerfile&quot; repo (along the lines of <a href="https:&#x2F;&#x2F;github.com&#x2F;jessfraz&#x2F;dockerfiles" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jessfraz&#x2F;dockerfiles</a>), where you build any tools you want into images that you control. This can be really useful for personal use or within a company.<p>Why build tools into Docker images? Love it or hate it, there are many senses in which Docker is currently the best medium that we have for distributing and running dev tools. Here&#x27;s an article making that argument: <a href="https:&#x2F;&#x2F;jonathan.bergknoff.com&#x2F;journal&#x2F;run-more-stuff-in-docker&#x2F;" rel="nofollow">https:&#x2F;&#x2F;jonathan.bergknoff.com&#x2F;journal&#x2F;run-more-stuff-in-doc...</a>.
评论 #23894364 未加载
fermienricoalmost 5 years ago
We&#x27;ve made all this so complicated. Instead of the beautiful simplicity based on UNIX philosophy (arguably), modern devops feels like a mishmash of ideas plopped together, tied with a bunch of yaml tape and god forbid if you ever want to look inside the stack of mess. Containerization is a great idea but flawed in its interface.<p>I like what Jim Keller (chip architect) says about complexity - that we need to throw away everything and start from scratch to which the interviewer asks, how often? Jim responds that currently chip architectures are re-done every 10 years but it should be more like every 5 years[1].<p>Just like any evolutionary process, there comes a point of diminishing returns because mistakes made cannot be corrected due to many other things that get piled up on <i>top</i> of it. So, it is difficult to track back. What happens is more shit gets piled up on top just to patch up old mistakes. Like our laryngeal nerve that loops around from the brain, all the way to the cervical area and goes back to the voicebox[2]. It is even more evident in a Giraffe. A good architect wouldn&#x27;t design anatomy like this. The reason why it is the way it is, is because evolution has no hindsight and marginal cost of <i>undoing</i> the nerve is higher than just slightly increasing the length of the nerve. This is what we do in software. A good architect wouldn&#x27;t design software like this. Sorry for the diversion, but I just feel so much pain with Docker, Kubernetes, Terraform and a whole load of AWS complexity. Holyshit.<p>[1] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=1CSeY10zbqo" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=1CSeY10zbqo</a><p>[2] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Recurrent_laryngeal_nerve#&#x2F;media&#x2F;File:Recurrent_laryngeal_nerve.svg" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Recurrent_laryngeal_nerve#&#x2F;med...</a>
评论 #23887025 未加载
评论 #23886867 未加载
评论 #23895928 未加载
digitalsushialmost 5 years ago
I am growing my anxiety as more layers to the Docker onion grow faster than I can stay current. In the past 2 years my company adopted kubernetes to manage our already confusing Docker infrastructure design, and then they added Rancher to it because no one was making sense of kubernetes.<p>Meanwhile we&#x27;re shipping on five year old containers that everyone is afraid to update and no one remembers how to build them. We&#x27;re building a skyscraper on a floating pier and trying to reach the moon before the tide changes.<p>I know this is the way, but I am having a hard time because it just doesn&#x27;t make sense. This doesn&#x27;t feel like process. It feels like compounding of reactions. Is it just me? My company? Or is this a general feeling?
评论 #23886618 未加载
评论 #23886414 未加载
评论 #23886403 未加载
评论 #23886609 未加载
评论 #23886567 未加载
评论 #23887057 未加载
评论 #23886998 未加载
评论 #23888614 未加载
评论 #23887479 未加载
评论 #23886882 未加载
rsa25519almost 5 years ago
See also Nix, which can declaratively generate Dockerfiles (example on home page) :-)<p><a href="https:&#x2F;&#x2F;nixos.org" rel="nofollow">https:&#x2F;&#x2F;nixos.org</a>
评论 #23887628 未加载
leetroutalmost 5 years ago
So this is for me to easily manage all my linters, formatters and such in one image from a group of upstream, published images, right?
评论 #23887617 未加载
techntokealmost 5 years ago
From the article:<p>&gt; Docker is an excellent means of distributing those sorts of tools.<p>No, package managers are excellent means of distributing and managing installed tools. Docker is an excellent way to package the tools, but it&#x27;s distribution and management are terrible. There isn&#x27;t even a command to simply show which containers are considered &quot;outdated&quot; without having to repull all your images, which can take 10+ minutes on 30 images.
pacifikaalmost 5 years ago
I guess we are fixing our lack of compatibility story by encasing our tools in fixed environments. Then write new tooling when this is no longer usable.<p>That seems like a short term view of things.
aasasdalmost 5 years ago
Pretty sure the name is ungoogleable.
techntokealmost 5 years ago
That is what I use Skaffold for
gavinrayalmost 5 years ago
I think I may be a bit slow -- I don&#x27;t get it =&#x2F;
评论 #23891431 未加载