Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't find it to be an oversimplification at all. If I say "the terminal takes this bash script and runs it", I understand the bash script may do a ton of complicated things, and all the system services that are set up in the first place to run bash are complicated, but I see nothing wrong or oversimplified about that sentence.


It's not the same comparison. You can perfectly well run a shell script in the terminal.

But you cannot run a Dockerfile, in the same way you cannot run a C++ source file as an executable. It needs to be compiled first.


Well, actually... you can just run C++ source as an executable... there are a bunch of C++ interpreters out there (of various quality, and probably not quite useful, but hey, nobody said you will have a good time running your C++ source).

But, yeah, if the article wanted to clarify instead of obscuring the functionality of Docker, the one we know and use, then saying that it runs the Dockerfile is misleading. I mean, it does run it to builds an image, that's how it build the image, but then readers need an explanation for why there are images and why do they need them, if all they do is running Dockerfiles, and that's where the "explanation" becomes worthless.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: