TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Docker will change everything

78 点作者 sathishmanohar超过 11 年前

19 条评论

stox超过 11 年前
Yes, it will change everything...back to what it once was. You will be billed by CPU time, I/O time, network consumption, etc. Just like we did on the old Mainframes. Hopefully, this will provide the feedback loop necessary to reward efficient programming once again.
评论 #6889486 未加载
rdtsc超过 11 年前
&gt; automates the deployment of any application as a lightweight, portable, self-sufficient container that will run virtually anywhere.<p>Bullshit. How do I run it on RHEL 5, because DoD systems are chock full of those? What about Windows? I have to install Virtualbox, and Vagrant and then run Docker inside the virtualized linux environment and then run docker containers in that.<p>So &quot;virtually anywhere&quot; means on a handful of systems.<p>Sometimes technology&#x27;s biggest &quot;fans&quot; are its biggest enemies without even realizing.
评论 #6889596 未加载
评论 #6891058 未加载
评论 #6889915 未加载
评论 #6890190 未加载
评论 #6890135 未加载
评论 #6890225 未加载
评论 #6889570 未加载
评论 #6889819 未加载
andrewfong超过 11 年前
Can someone comment on what I would use Docker for as opposed to what I would use Chef &#x2F; Puppet &#x2F; Ansible for?
评论 #6889540 未加载
评论 #6889589 未加载
评论 #6889718 未加载
评论 #6889956 未加载
评论 #6893561 未加载
评论 #6889807 未加载
pjungwir超过 11 年前
Docker sounds very interesting, but I have a ton of questions. I&#x27;m very familiar with Chef and Vagrant, and passingly familiar with FreeBSD jails, but I&#x27;m having trouble wrapping my head around Docker. Here are some questions:<p>- Why use ENTRYPOINT rather than init.d scripts?<p>- When I&#x27;m building the Dockerfile, how do I do something like `vi &#x2F;etc&#x2F;apache2&#x2F;sites-available&#x2F;my-app`? In other words, how do I drop a whole config file onto the image, the way I&#x27;d use Chef files&#x2F;templates?<p>- Is it possible to parameterize a Dockerfile, so people can use my image but adjust the nginx timeout time?<p>- Do Dockerfile commands need to be idempotent? For example will this cause problems?: `RUN echo &quot;deb <a href="http://archive.ubuntu.com/ubuntu" rel="nofollow">http:&#x2F;&#x2F;archive.ubuntu.com&#x2F;ubuntu</a> precise main universe&quot; &gt; &#x2F;etc&#x2F;apt&#x2F;sources.list`<p>- If I&#x27;m using docker to host Rails-on-unicorn, do I still use Capistrano to push a new deploy, or do I spin down the whole docker container then launch another with my latest code? If the latter, are there any existing tools for that?
评论 #6891340 未加载
snird超过 11 年前
He explains the problem well, but I yet to see someone who explains the docker solution (into more details) well.
评论 #6889485 未加载
评论 #6889117 未加载
评论 #6889391 未加载
评论 #6889578 未加载
评论 #6889119 未加载
xacaxulu超过 11 年前
IT WILL CHANGE EVERYTHING!!! Including orbits of small moons around planets we haven&#x27;t discovered yet.
josh-wrale超过 11 年前
IMHO: On Docker, I&#x27;d say, it will change the rhetorical everything for stateless tiers. Stateful tiers will resist this change. I&#x27;m not yet comfortable upgrading to a new version of MySQL on a database using Docker in application-container mode, that is, without some package management like scripts (e.g. upgrade the dataset). For stateful tiers, full LXC containers are changing everything, at least until full full-container support arrives in Docker (because, duh, it uses LXC).
评论 #6889341 未加载
guelo超过 11 年前
&quot;self-sufficient container that will run virtually anywhere&quot;<p>Anywhere that is Linux.
评论 #6889118 未加载
评论 #6889607 未加载
vpsserver超过 11 年前
&gt; lightweight, portable, self-sufficient container that will run virtually anywhere.<p>It doesn&#x27;t work on typical cheap VPS servers from <a href="http://lowendbox.com/" rel="nofollow">http:&#x2F;&#x2F;lowendbox.com&#x2F;</a> because they use OpenVZ.
评论 #6889460 未加载
评论 #6889762 未加载
评论 #6890033 未加载
tomrod超过 11 年前
I&#x27;d love to understand what use cases Docker is used for. I read a lot of comments where people talk about outsourcing functions their laptop would normally run, but I&#x27;m not sure of the comparative advantages of that method.<p>I wonder a few things:<p>1. Could tighter security be implemented by outsourcing certain functions to Docker--the base computation can only allow certain routines to run, for example, disallowing any trojan activity? (Similar to blocking ports, but at an IO or computing level).<p>2. How is this tech beneficial to the consumer market? As the consumer market goes the business market (as we saw in Microsoft&#x2F;Apple&#x2F;iOS adoption--consumers demanded it then wanted to use it in business situations)<p>3. Is the tech Docker using propietary, trade secret, or protected by patent? In our current environment tech firms face terrible regulatory uncertainty due to crappy patents. Can a viable competitor to Docker exist?
评论 #6889783 未加载
fotcorn超过 11 年前
Why not just create a AWS&#x2F;DigitalOcean&#x2F;Rackspace instance for every service? When I need different versions of the same software I use another instance or something like Python virtualenvs.
评论 #6889206 未加载
CmonDev超过 11 年前
&quot;an open source project to pack, ship and run any application as a lightweight container&quot; - I am so excited! How exactly do I ship and run my XNA&#x2F;Mono game on Android, WP, iOS?
jamra超过 11 年前
How do you scale with Docker? I get the idea of how containers work. I get the idea of how it shares resources between like containers. That&#x27;s all very cool. My question is how do I scale a docker container? It&#x27;s not well covered in the tutorial. Do I just add more containers? What happens when I want to scale on separate servers? I don&#x27;t see any configurability of the items inside the containers.
评论 #6889745 未加载
评论 #6889992 未加载
siliconc0w超过 11 年前
I still think there needs to be a bridge for SCM tools and Docker. Docker allows you to easily share an enviornmnet but there is still value in documenting how that environment was built - preferably via a flexible language (chef&#x2F;puppet&#x2F;ansible) instead of just sequential bash commands.<p>Is there already a project out there that does docker-based continuous integration?
评论 #6889454 未加载
评论 #6889435 未加载
Kiro超过 11 年前
&gt;But what happens when there is another rails application that uses the same stack. you need to setup another instance identical to the previous one to run the second application in production.<p>Why not just run them on the same &quot;instance&quot;? What does instance even refer to?
评论 #6889586 未加载
steeve超过 11 年前
Hey folks, if you want to try out Docker easily, you use <a href="https://github.com/steeve/boot2docker" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;steeve&#x2F;boot2docker</a><p>It&#x27;s a 23mb ISO that boots in 6s and allows you to get started right away.
mey超过 11 年前
FreeBSD jail isn&#x27;t dead yet.
andyl超过 11 年前
Question: If I were to deploy a rails app using docker, can I put the whole stack in a single container (ruby&#x2F;postgres&#x2F;redis&#x2F;sidekiq&#x2F;etc.) Or do I need a separate container for each process?
评论 #6889113 未加载
评论 #6889095 未加载
评论 #6889101 未加载
评论 #6889087 未加载
auggierose超过 11 年前
Nope, Docker is not going to change everything. I could tell you what is, but you won&#x27;t believe me.
评论 #6889131 未加载
评论 #6889134 未加载
评论 #6889089 未加载