News for hackers. Stuff that matters.
Re:Docker Is Raising Funding at $1.3B Valuation by gaius on Friday August 18, 2017 @04:20PM (#15049415)
An interview question I asked recently: what are the advantages of Docker over an application deployed as a statically linked binary?
Re:Docker Is Raising Funding at $1.3B Valuation by mbrock on Saturday August 19, 2017 @09:53AM (#15053347)
I use Docker as a tool for creating statically linked binaries...

For example, here: https://github.com/mbrock/gf-static/blob/master/Dockerfile

Making static binaries is often extremely painful and confusing. It's easier on a distribution like Alpine, and nicely enough, Alpine comes as a Docker image.

In general, Docker's ability to basically spin up a whole Linux distribution, with a whole root file system, makes it very different from just using static binaries.

Along with Docker's image repository infrastructure, it makes some things easy that weren't easy before. Like, I don't know if there is a static binary build of the Erlang runtime system, and I don't know what kind of file system tree that system needs, but I just now opened an xterm and typed "docker run -it --rm erlang" and got an Erlang 9.0.2 shell.

Re:Docker Is Raising Funding at $1.3B Valuation by my_ghola on Friday August 18, 2017 @07:05PM (#15050441)
The same benefit of deploying a statically linked binary in a VM without the overhead of the VM.
Re:Docker Is Raising Funding at $1.3B Valuation by dopamean on Friday August 18, 2017 @04:22PM (#15049425)
What kind of answers do you expect/would like to hear?
Re:Docker Is Raising Funding at $1.3B Valuation by gaius on Friday August 18, 2017 @04:41PM (#15049566)
I intend it to be a starting point for a conversation, someone who really understands it will be able to convince the skeptic that I play, someone who is just typing the commands because it's trendy won't. Also it helps if they know what a statically linked binary is.
Re:Docker Is Raising Funding at $1.3B Valuation by fapjacks on Friday August 18, 2017 @05:11PM (#15049759)
It is obvious from your comments that nobody will convince you of any merit Docker has. You are not "playing a skeptic".
Re:Docker Is Raising Funding at $1.3B Valuation by gaius on Friday August 18, 2017 @05:19PM (#15049806)
I like containers as a concept, and I like the Docker commands for building them and running them locally. I am less convinced by Docker Swarm as a Prod-grade runtime environment, and skeptical that Docker the company can build a viable business out of something that will rapidly become a commodity, I expect the file format will long outlive the company that created it. But those are nothing to do with the question really, which can be answered purely technically.
Re:Docker Is Raising Funding at $1.3B Valuation by eatmyshorts on Friday August 18, 2017 @05:49PM (#15050027)
Curious--how do you feel about Mesosphere and Kubernetes vs. Docker Swarm?
Re:Docker Is Raising Funding at $1.3B Valuation by gaius on Saturday August 19, 2017 @02:47AM (#15052044)
Big fan of DC/OS. Ambivalent about k8s, but maybe it's just not for my use cases.
Re:Docker Is Raising Funding at $1.3B Valuation by brianwawok on Friday August 18, 2017 @05:11PM (#15049755)
Based on most interviews, he wants you to answer like he would answer or he wouldn't hire you.
Re:Docker Is Raising Funding at $1.3B Valuation by gaius on Friday August 18, 2017 @05:19PM (#15049811)
Did you just assume my agenda?
Re:Docker Is Raising Funding at $1.3B Valuation by meric on Friday August 18, 2017 @07:12PM (#15050475)
Binaries are built for specific operating systems. E.g. A Linux binary can't run on Mac OS X, except with a VM or... a container. :)
Re:Docker Is Raising Funding at $1.3B Valuation by AlphaSite on Friday August 18, 2017 @11:13PM (#15051454)
So are containers...?
Re:Docker Is Raising Funding at $1.3B Valuation by bonzini on Saturday August 19, 2017 @02:33AM (#15052004)
Indeed, Docker on OS X is actually running virtual machines through xhyve.