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

Please don't downvote parent. This is true.

It is a fact that everything that happens in a Dockerfile execution via `docker build` can be done with a `docker run` and executing commands and ending with `docker commit`. Even the caching mechanism can be replicated. (Except with more control in my opinion.) It is also a fact that `docker run` has more capabilities than `docker build`, such as being able to mount things in.



Thanks as an occasional docker user this wouldn’t have occurred to me.




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

Search: