4 ms·
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 r
by AnthonBerg 7y ago
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.
- quickthrower2 7y agoThanks as an occasional docker user this wouldn’t have occurred to me.