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.

[video] Build a working web application using 3 docker containers in 2 minutes

61 pointsby fzaninottoalmost 11 years ago

5 comments

huhtenbergalmost 11 years ago
If I have two pieces of bread and a slice of ham, I can certainly make myself a ham sandwich. The problem, of course, is that what I actually need to make is a roasted chicken.<p>In other words, it&#x27;s 2 minutes only if your problem is solvable with Xyz <i>and</i> if you can actually understand that in the first place - and that&#x27;s not a 2 minute task. So, as great as Docker looks, the &quot;magic in 2 minutes&quot; demos come across as gimmicky and do it more harm than good.
评论 #7845478 未加载
评论 #7846858 未加载
programminggeekalmost 11 years ago
If you are building a PHP&#x2F;MySQL app, I&#x27;m not sure that I would start with docker. Actually, I know I wouldn&#x27;t start with docker.<p>Very few apps will ever get to the point where they have millions of users, and even fewer will need to use docker to orchestrate what should amount to &lt; 5 servers (1 proxy, 2 web fronts, 1 cache, 1 db) to start to handle that kind of load.<p>Once you are at that kind of scale, where you are handling 5+ containers&#x2F;machines, then it might make sense to look at docker, chef, puppet, etc... but for the rest of us, starting with docker feels like premature optimization for scale that will likely never happen.<p>The only sensible part of docker at small scale is if you are inside a larger org and you are deploying a lot of apps and you are using docker to simplify deployment (sort of like WAR files in javaland...sort of), but even then for php&#x2F;mysql a git checkout or rsync works like a champ.
评论 #7846408 未加载
评论 #7846004 未加载
评论 #7845980 未加载
jeffbr13almost 11 years ago
The heavy-lifting of this seems to be [gaudi](<a href="http://gaudi.io/" rel="nofollow">http:&#x2F;&#x2F;gaudi.io&#x2F;</a>) &quot;a way to describe a system of Docker containers using a simple DSL&quot; and a drag-and-drop interface to generate a script.<p>gaudi seems to be the perfect tool for setting up database + applications + web containers, but has anyone used it in practice?
评论 #7845706 未加载
lsmith77almost 11 years ago
Docker reslly seems to gain a lot of momentum but there is still a need to mature the tooling around it, this looks like a great step in that direction.<p>Semi-related see also <a href="http://blog.liip.ch/archive/2014/06/01/how-i-use-docker-on-os-x.html" rel="nofollow">http:&#x2F;&#x2F;blog.liip.ch&#x2F;archive&#x2F;2014&#x2F;06&#x2F;01&#x2F;how-i-use-docker-on-o...</a>
iffycanalmost 11 years ago
The music makes me feel like I&#x27;m curing cancer.